diff options
Diffstat (limited to 'www/curl/Makefile')
-rw-r--r-- | www/curl/Makefile | 9 |
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. |