diff options
author | fredb <fredb> | 2001-02-09 03:00:00 +0000 |
---|---|---|
committer | fredb <fredb> | 2001-02-09 03:00:00 +0000 |
commit | 08e59eb1f9f1268b55ae50c5bedf23472a8e3a67 (patch) | |
tree | 38b9de1bad53d6f2687ad16dd49ce88915c248db /www | |
parent | 95408f46f9b1034619a1aef692ce4e4e12c9047e (diff) | |
download | pkgsrc-08e59eb1f9f1268b55ae50c5bedf23472a8e3a67.tar.gz |
Add configure hack to ensure that we're doing the feature tests with
-lcurses and not -lncurses when LYNX_SCREEN_LIB is set to "curses".
Diffstat (limited to 'www')
-rw-r--r-- | www/lynx-current/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile index ed8e5b2f6f2..3f7393680df 100644 --- a/www/lynx-current/Makefile +++ b/www/lynx-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2001/02/08 19:52:03 fredb Exp $ +# $NetBSD: Makefile,v 1.26 2001/02/09 03:00:00 fredb Exp $ # DISTNAME= lynx2.8.4dev.16 @@ -58,8 +58,6 @@ post-install: .include "../../mk/bsd.prefs.mk" -# Pick a terminal library. Choice affects support for colors, mouse, -# "color styles", and more. No library supports all features. LYNX_SCREEN_LIB?= slang .if (${LYNX_SCREEN_LIB} == slang) DEPENDS+= libslang-*:../../devel/libslang @@ -67,7 +65,9 @@ CONFIGURE_ENV+= LIBS="-lm -ltermcap" .elif (${LYNX_SCREEN_LIB} == ncurses) DEPENDS+= ncurses-*:../../devel/ncurses CONFIGURE_ARGS+= --enable-color-style -.elif (${LYNX_SCREEN_LIB} != curses) +.elif (${LYNX_SCREEN_LIB} == curses) +CONFIGURE_ENV+= cf_cv_ncurses_version=no +.else pre-configure: @${ECHO} '****************************************************' @${ECHO} '* Invalid value for LYNX_SCREEN_LIB. Please choose *' |