summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-02-13 10:33:22 +0000
committertron <tron@pkgsrc.org>2000-02-13 10:33:22 +0000
commitfe9ac2c3f29a19e86ce556870075b3d2b2465cf1 (patch)
treef381b4d43090055ce17ddb1a70e910b72e06ad5e /mk/bsd.prefs.mk
parent725c4d5bb5d90c045f636abfe312d98036bc4f06 (diff)
downloadpkgsrc-fe9ac2c3f29a19e86ce556870075b3d2b2465cf1.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