diff options
author | erh <erh@pkgsrc.org> | 2003-11-24 20:44:07 +0000 |
---|---|---|
committer | erh <erh@pkgsrc.org> | 2003-11-24 20:44:07 +0000 |
commit | 6402081470cc172d9780bb7adc6931b273faee57 (patch) | |
tree | 151f00311a22942a7f16c3e4fe52f8472b786ea1 | |
parent | b7c513b88f4acd1e157bf7227bdd03a4168c0819 (diff) | |
download | pkgsrc-6402081470cc172d9780bb7adc6931b273faee57.tar.gz |
If USE_INET6 isn't "yes", explicitly disable building ipv6 support.
-rw-r--r-- | www/curl/Makefile | 8 |
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 \ |