summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorschmonz <schmonz>2002-12-15 00:40:29 +0000
committerschmonz <schmonz>2002-12-15 00:40:29 +0000
commita09373df9163f2d0c93a15dc91ecc5a036e10fc4 (patch)
treedb2d4daa7a528933f2ce0a62cb14458ea0ece2c8 /mk
parent7318569e54cf4d65e77fff93fb1b7de0801e6de3 (diff)
downloadpkgsrc-a09373df9163f2d0c93a15dc91ecc5a036e10fc4.tar.gz
Default to USE_INET6 = NO on Darwin < 6.0, whose IPv6 bits are a red herring.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 2f9a43d235e..076c9d5721e 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.94 2002/12/12 03:02:41 jschauma Exp $
+# $NetBSD: bsd.prefs.mk,v 1.95 2002/12/15 00:40:29 schmonz Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -199,6 +199,8 @@ SHAREMODE?= ${DOCMODE}
USE_INET6?= YES
.elif ${OPSYS} == "SunOS" && exists(/usr/include/netinet/ip6.h)
USE_INET6?= YES
+.elif ${OPSYS} == "Darwin" && ${OS_VERSION} < 6.0
+USE_INET6?= NO
# other KAME
.elif exists(/usr/include/netinet6)
USE_INET6?= YES