summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorgrant <grant>2002-11-30 16:49:00 +0000
committergrant <grant>2002-11-30 16:49:00 +0000
commite8b7611170e4d2058f59a4948fbde95691ad29b9 (patch)
tree1fd28084c84c2b1b3cc694af85b1f4b37a355454 /mk/bsd.prefs.mk
parentd5e2a96478e0eff907074bc2667239421c7d19a6 (diff)
downloadpkgsrc-e8b7611170e4d2058f59a4948fbde95691ad29b9.tar.gz
turn on USE_INET6 in a KAME IPv6 environment other than NetBSD.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index a1c6ca6281b..5a06d060504 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.91 2002/11/17 22:35:23 grant Exp $
+# $NetBSD: bsd.prefs.mk,v 1.92 2002/11/30 16:49:00 grant Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -189,12 +189,15 @@ SHAREMODE?= ${DOCMODE}
@${FALSE}
.endif
-# if the system is IPv6-ready NetBSD, compile with IPv6 support turned on.
+# if the system is IPv6-ready, compile with IPv6 support turned on.
.if (${OPSYS} == "NetBSD") && !defined(USE_SOCKS) && \
exists(/usr/include/netinet6)
USE_INET6?= YES
.elif ${OPSYS} == "SunOS" && exists(/usr/include/netinet/ip6.h)
USE_INET6?= YES
+# other KAME
+.elif exists(/usr/include/netinet6)
+USE_INET6?= YES
.else
USE_INET6?= NO
.endif