summaryrefslogtreecommitdiff
path: root/www/curl/Makefile
diff options
context:
space:
mode:
authoritojun <itojun>2002-03-15 08:18:45 +0000
committeritojun <itojun>2002-03-15 08:18:45 +0000
commit1991525f79bf4ccac77b32a91ea40d6ff0eff7f1 (patch)
tree768df87b8eb2da85d1b100c92bed86b5892e7145 /www/curl/Makefile
parentb62d030dafbd9b0c6aa95e6ae2010338f6f35bb9 (diff)
downloadpkgsrc-1991525f79bf4ccac77b32a91ea40d6ff0eff7f1.tar.gz
re-enable IPv6.
Diffstat (limited to 'www/curl/Makefile')
-rw-r--r--www/curl/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile
index db59c34d93e..14182cb4ed6 100644
--- a/www/curl/Makefile
+++ b/www/curl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2002/03/15 07:46:22 itojun Exp $
+# $NetBSD: Makefile,v 1.15 2002/03/15 08:18:45 itojun Exp $
DISTNAME= curl-7.9.5
CATEGORIES= www
@@ -11,6 +11,7 @@ HOMEPAGE= http://curl.haxx.se/
COMMENT= client that groks URLs
# list it into IPv6-ready packages
+.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_INET6
USE_BUILDLINK_ONLY= yes
@@ -19,6 +20,12 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_DIR}
+.if defined(USE_INET6) && ${USE_INET6} == "YES"
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+CONFIGURE_ARGS+= --enable-debug
# This causes curl-config not to be regenerated during build-time as it was
# already created at configure-time.