summaryrefslogtreecommitdiff
path: root/www/curl
diff options
context:
space:
mode:
authorerh <erh>2003-11-24 20:44:07 +0000
committererh <erh>2003-11-24 20:44:07 +0000
commit39838eae269afe57717ac93dd2753323a35a616d (patch)
tree151f00311a22942a7f16c3e4fe52f8472b786ea1 /www/curl
parent4845f7f6c002d4fe551e7475eedcab5591a90031 (diff)
downloadpkgsrc-39838eae269afe57717ac93dd2753323a35a616d.tar.gz
If USE_INET6 isn't "yes", explicitly disable building ipv6 support.
Diffstat (limited to 'www/curl')
-rw-r--r--www/curl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile
index b077587efad..acc77c83e0a 100644
--- a/www/curl/Makefile
+++ b/www/curl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2003/11/12 03:39:43 jschauma Exp $
+# $NetBSD: Makefile,v 1.32 2003/11/24 20:44:07 erh Exp $
DISTNAME= curl-7.10.6
PKGREVISION= 1
@@ -21,6 +21,12 @@ LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
+.include "../../mk/bsd.prefs.mk"
+
+.if empty(USE_INET6:M[yY][eE][sS])
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/curl
for _f in MANUAL TheArtOfHttpScripting FAQ \