diff options
author | ache <ache@FreeBSD.org> | 2007-05-28 06:00:02 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2007-05-28 06:00:02 +0800 |
commit | 30796ea9a468c8cc21e5a2854c8b3728687426a3 (patch) | |
tree | 2056ac5448935ef371a1da31007b127544902add | |
parent | a5cbb1f1ea3d8a0ae56daa99d111a5222d479c4d (diff) | |
download | freebsd-ports-gnome-30796ea9a468c8cc21e5a2854c8b3728687426a3.tar.gz freebsd-ports-gnome-30796ea9a468c8cc21e5a2854c8b3728687426a3.tar.zst freebsd-ports-gnome-30796ea9a468c8cc21e5a2854c8b3728687426a3.zip |
Use ncursesw only after it was merged in 6.2-STABLE
-rw-r--r-- | www/lynx-current/Makefile | 9 |
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 |