aboutsummaryrefslogtreecommitdiffstats
path: root/www/dillo
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2007-10-04 01:26:00 +0800
committerobrien <obrien@FreeBSD.org>2007-10-04 01:26:00 +0800
commit5fbd4c020e1d27ba33e5c54f06120e1d13baf389 (patch)
treedd72c7134fba48f6119f0b9ea6160de966d33928 /www/dillo
parenta936e4b37eb27e249bd0efb25d633fd8801c60f1 (diff)
downloadfreebsd-ports-gnome-5fbd4c020e1d27ba33e5c54f06120e1d13baf389.tar.gz
freebsd-ports-gnome-5fbd4c020e1d27ba33e5c54f06120e1d13baf389.tar.zst
freebsd-ports-gnome-5fbd4c020e1d27ba33e5c54f06120e1d13baf389.zip
Respect the global WITHOUT_IPV6 and local WITHOUT_DILLO_IPV6.
Approved by: maintainer(Thomas-Martin Seck <tmseck@netcologne.de>)
Diffstat (limited to 'www/dillo')
-rw-r--r--www/dillo/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/dillo/Makefile b/www/dillo/Makefile
index c1b664c1dd6e..0310242f2c25 100644
--- a/www/dillo/Makefile
+++ b/www/dillo/Makefile
@@ -30,8 +30,11 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS= --enable-cookies --enable-ipv6 --enable-threaded-dns \
+CONFIGURE_ARGS= --enable-cookies --enable-threaded-dns \
--libdir=${PREFIX}/libexec
+.if !defined(WITHOUT_DILLO_IPV6) && !defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
.if defined(WITH_DILLO_SSL)
CONFIGURE_ARGS+= --enable-ssl
@@ -69,6 +72,11 @@ pre-configure:
@${ECHO_CMD} " Set WITH_DILLO_DLGUI=yes in your make environment or on the"
@${ECHO_CMD} " commandline to enable a FLTK2 based gui for download operations."
.endif
+.if !defined(WITHOUT_DILLO_IPV6) && !defined(WITHOUT_IPV6)
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} " Set WITHOUT_DILLO_IPV6=yes (or WITHOUT_IPV6=yes) in your make"
+ @${ECHO_CMD} " environment or on the commandline to disable IPv6 support."
+.endif
@${ECHO_CMD} ""
.include <bsd.port.mk>