Changeset 3092
- Timestamp:
- 07/02/07 22:01:30 (1 year ago)
- Files:
-
- trunk/freewrt/scripts/scan-tools.sh (modified) (3 diffs)
- trunk/freewrt/tools/config/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/scripts/scan-tools.sh
r3091 r3092 86 86 bmake=/usr/bin/make 87 87 ;; 88 NetBSD) 89 echo Warning: NetBSD® support is not completed. 90 echo 91 ;; 88 92 OpenBSD) 89 93 # supported with no extra quirks at the moment … … 357 361 fi 358 362 359 if [[ ! -s /usr/include/ncurses.h ]]; then 363 [[ -s /usr/include/ncurses.h ]] || if [[ -s /usr/pkg/include/ncurses.h ]]; then 364 echo 'HOSTCFLAGS+= -isystem /usr/pkg/include' >>$topdir/lbin/prereq.mk 365 echo 'HOSTLDFLAGS+=-L/usr/pkg/lib -Wl,-rpath -Wl,/usr/pkg/lib' >>$topdir/lbin/prereq.mk 366 else 360 367 echo Install ncurses header files, please. 361 368 echo … … 369 376 fi 370 377 371 #if ! which perl >/dev/null 2>&1; then372 if [[ "$(which perl 2>/dev/null)" != /usr/bin/perl ]]; then378 if ! which perl >/dev/null 2>&1; then 379 #if [[ "$(which perl 2>/dev/null)" != /usr/bin/perl ]]; then 373 380 echo You must install Perl in /usr/bin to continue. 374 381 echo trunk/freewrt/tools/config/Makefile
r2727 r3092 24 24 HOSTCFLAGS+= -I/usr/local/include/ncurses -DCURSES_LOC="<ncurses/curses.h>" 25 25 else 26 ifeq (/usr/pkg/include/ncurses.h, $(wildcard /usr/pkg/include/ncurses.h)) 27 HOSTCFLAGS+= -I/usr/pkg/include -DCURSES_LOC="<ncurses.h>" 28 LIBS+= -L/usr/pkg/lib -Wl,-rpath -Wl,/usr/pkg/lib 29 else 26 30 ifeq (/usr/include/ncurses.h, $(wildcard /usr/include/ncurses.h)) 27 31 HOSTNCURSES+= -DCURSES_LOC="<ncurses.h>" 28 32 else 29 33 HOSTNCURSES+= -DCURSES_LOC="<curses.h>" 34 endif 30 35 endif 31 36 endif


