summaryrefslogtreecommitdiff
path: root/www/lynx-current
diff options
context:
space:
mode:
authorfredb <fredb>2001-02-09 03:00:00 +0000
committerfredb <fredb>2001-02-09 03:00:00 +0000
commitbe8a39306b7fd1c81acc7e440e36ed86dac13326 (patch)
tree38b9de1bad53d6f2687ad16dd49ce88915c248db /www/lynx-current
parent057a9242076dc07eb12b8d64f777aecec533c76c (diff)
downloadpkgsrc-be8a39306b7fd1c81acc7e440e36ed86dac13326.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 *'