aboutsummaryrefslogtreecommitdiff
path: root/www/lynx-current
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-09-13 20:51:06 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-09-13 20:51:06 +0000
commit28f9408d6b08d3d9d82f40cbb52c94ca9d1e4a5c (patch)
treeff645380359ce448dc8d3d2502e884cf39df18a0 /www/lynx-current
parent6fe402670fb8b60a760d7b67d4d8741c8583ff31 (diff)
downloadports-28f9408d6b08d3d9d82f40cbb52c94ca9d1e4a5c.tar.gz
ports-28f9408d6b08d3d9d82f40cbb52c94ca9d1e4a5c.zip
Notes
Diffstat (limited to 'www/lynx-current')
-rw-r--r--www/lynx-current/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile
index 2ef7d95b4d94..f976122fc6f7 100644
--- a/www/lynx-current/Makefile
+++ b/www/lynx-current/Makefile
@@ -7,7 +7,7 @@
PORTNAME= lynx
PORTVERSION= 2.8.4d9
-CATEGORIES= www
+CATEGORIES= www ipv6
MASTER_SITES= http://lynx.isc.org/current/
DISTNAME= ${PORTNAME}2.8.4dev.9
@@ -22,6 +22,14 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --enable-persistent-cookies \
--enable-nls
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
+CONFIGURE_ARGS+=--enable-ipv6
+.else
+CONFIGURE_ARGS+=--disable-ipv6
+.endif
CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS=-L${LOCALBASE}/lib
MAKE_FLAGS= helpdir=${L_HELP} docdir=${L_DOC} -f
MAKEFILE= makefile
@@ -37,4 +45,4 @@ post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>