ncurses(w) can't be built universally if it was already installed
Reported by: |
nox@… |
Owned by: |
imajes@… |
Priority:
|
Normal
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
|
Keywords:
|
|
Cc:
|
|
Port:
|
|
|
|
ncursesw tries to link to its previous installed library on upgrade:
/usr/bin/gcc-4.0 -pipe -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -no-cpp-precomp -no-cpp-precomp -o background ../obj_s/background.o -L/opt/local/lib -arch i386 -arch ppc -Wl,-search_paths_first -I../test -I. -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include -F/opt/local/Library/Frameworks -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -pipe -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -no-cpp-precomp -no-cpp-precomp -dynamic `echo "-L../lib -lformw -lmenuw -lpanelw -lncursesw " | sed -e 's/-lform.*-lpanel[^ ]*//'`
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: for architecture i386
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning /opt/local/lib/libncursesw.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_cbreak
_endwin
_has_colors
_init_pair
_initscr
_noecho
_pair_content
_printw
_start_color
_stdscr
_wbkgd
_wbkgdset
_wgetch
collect2: ld returned 1 exit status
ncurses is broken in the same way too.