pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/curl If USE_INET6 isn't "yes", explicitly disable ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ed24a5ed824
branches:  trunk
changeset: 463672:1ed24a5ed824
user:      erh <erh%pkgsrc.org@localhost>
date:      Mon Nov 24 20:44:07 2003 +0000

description:
If USE_INET6 isn't "yes", explicitly disable building ipv6 support.

diffstat:

 www/curl/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 6e0d49e2c50a -r 1ed24a5ed824 www/curl/Makefile
--- a/www/curl/Makefile Mon Nov 24 19:13:19 2003 +0000
+++ b/www/curl/Makefile Mon Nov 24 20:44:07 2003 +0000
@@ -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 @@
 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              \



Home | Main Index | Thread Index | Old Index