aboutsummaryrefslogtreecommitdiff
path: root/www/lynx-current
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2007-05-27 22:00:02 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2007-05-27 22:00:02 +0000
commit8a1d1ac8dcbc8e1cb44e94ad16faff8f99773a29 (patch)
treeaeca2f5f0b575beac5c27a9fda09ba5f9e0f6e3d /www/lynx-current
parent937c5aa220c568f73910f5b763f795da058911b8 (diff)
downloadports-8a1d1ac8dcbc8e1cb44e94ad16faff8f99773a29.tar.gz
ports-8a1d1ac8dcbc8e1cb44e94ad16faff8f99773a29.zip
Use ncursesw only after it was merged in 6.2-STABLE
Notes
Notes: svn path=/head/; revision=192143
Diffstat (limited to 'www/lynx-current')
-rw-r--r--www/lynx-current/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile
index 83774e5cb0ed..a5b3768f5f21 100644
--- a/www/lynx-current/Makefile
+++ b/www/lynx-current/Makefile
@@ -7,6 +7,7 @@
PORTNAME= lynx
PORTVERSION= 2.8.7d5
+PORTREVISION= 1
CATEGORIES= www ipv6
MASTER_SITES= http://lynx.isc.org/current/
DISTNAME= ${PORTNAME}2.8.7dev.5
@@ -22,7 +23,7 @@ USE_ICONV= yes
NO_LATEST_LINK= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --with-screen=ncursesw --with-zlib --libdir="${L_LIB}" \
+CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --enable-nls --with-bzlib \
--enable-nested-tables --enable-default-colors \
--enable-scrollbar --enable-addrlist-page \
@@ -30,6 +31,12 @@ CONFIGURE_ARGS= --with-screen=ncursesw --with-zlib --libdir="${L_LIB}" \
--with-mime-libdir=${PREFIX}/etc \
--with-libiconv-prefix=${LOCALBASE}
+.if ${OSVERSION} >= 602107
+CONFIGURE_ARGS+= --with-screen=ncursesw
+.else
+CONFIGURE_ARGS+= --with-screen=ncurses
+.endif
+
.ifndef NO_OPENSSL
USE_OPENSSL= yes
.endif