From 6402081470cc172d9780bb7adc6931b273faee57 Mon Sep 17 00:00:00 2001 From: erh Date: Mon, 24 Nov 2003 20:44:07 +0000 Subject: If USE_INET6 isn't "yes", explicitly disable building ipv6 support. --- www/curl/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3