summaryrefslogtreecommitdiff
path: root/www/lynx-current
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2001-02-09 03:00:00 +0000
committerfredb <fredb@pkgsrc.org>2001-02-09 03:00:00 +0000
commit58015b3cb5dc62b550c98fcd8f75c4b17709d0ff (patch)
tree38b9de1bad53d6f2687ad16dd49ce88915c248db /www/lynx-current
parentb89e2486643424cfd461dd6cdfeef6472200f78d (diff)
downloadpkgsrc-58015b3cb5dc62b550c98fcd8f75c4b17709d0ff.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/lynx-current')
-rw-r--r--www/lynx-current/Makefile8
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 *'