aboutsummaryrefslogtreecommitdiff
path: root/www/lynx-current
diff options
context:
space:
mode:
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