summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authortron <tron>2000-02-13 10:33:22 +0000
committertron <tron>2000-02-13 10:33:22 +0000
commit31c656505507b23f503a9f788ac99b9b02183be0 (patch)
treef381b4d43090055ce17ddb1a70e910b72e06ad5e /mk/bsd.prefs.mk
parent3ab86af880650dc3121f688c687878aef66a03ff (diff)
downloadpkgsrc-31c656505507b23f503a9f788ac99b9b02183be0.tar.gz
Don't enable IPv6 support if socks support is activated.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 394f6922fdc..04c8f2512bb 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.14 2000/01/24 07:04:28 itojun Exp $
+# $NetBSD: bsd.prefs.mk,v 1.15 2000/02/13 10:33:22 tron Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -93,7 +93,8 @@ MAKE_ENV+= EXTRA_SYS_MK_INCLUDES="<bsd.own.mk>"
.endif
# if the system is IPv6-ready NetBSD, compile with IPv6 support turned on.
-.if (${OPSYS} == "NetBSD") && exists(/sbin/ping6)
+.if (${OPSYS} == "NetBSD") && !defined(USE_SOCKS) && \
+ exists(/usr/include/netinet6)
USE_INET6?= YES
.endif