summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-08-21 08:40:40 +0000
committergrant <grant@pkgsrc.org>2002-08-21 08:40:40 +0000
commita4a0e792bf0abbfb1dbae3701beff2188ee1199f (patch)
tree73dbd18c0c287aadd83feba3f9c2955361d46e5e /mk
parent88cb0c1c2f4be8354e5506d0e9503d06d7add5b0 (diff)
downloadpkgsrc-a4a0e792bf0abbfb1dbae3701beff2188ee1199f.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