diff options
Diffstat (limited to 'www/lynx-current')
-rw-r--r-- | www/lynx-current/Makefile | 12 |
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> |