summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2002-08-21 08:40:40 +0000
committergrant <grant>2002-08-21 08:40:40 +0000
commite19aa9ed468574124e9c59c9e21b88848734c69b (patch)
tree73dbd18c0c287aadd83feba3f9c2955361d46e5e /mk
parentc7d41da10bf36127b0bc2311f989af98f06eac7e (diff)
downloadpkgsrc-e19aa9ed468574124e9c59c9e21b88848734c69b.tar.gz
set USE_INET6 if we are on an IPv6 capable Solaris host.
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 e0e4b923902..671515665f0 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.74 2002/08/01 05:36:33 jlam Exp $
+# $NetBSD: bsd.prefs.mk,v 1.75 2002/08/21 08:40:40 grant Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -180,6 +180,8 @@ SHAREMODE?= ${DOCMODE}
.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
.else
USE_INET6?= NO
.endif