summaryrefslogtreecommitdiff
path: root/mk/defs.FreeBSD.mk
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2002-12-18 06:18:14 +0000
committerschmonz <schmonz@pkgsrc.org>2002-12-18 06:18:14 +0000
commite1c77ef4961e9424783a55b57314485245a5c758 (patch)
tree9347da4ab63c084c93d04d8e5471cd96f8119f9f /mk/defs.FreeBSD.mk
parent5745f2e1ffb5994897f535ab974babeb84722c8c (diff)
downloadpkgsrc-e1c77ef4961e9424783a55b57314485245a5c758.tar.gz
Introduce _OPSYS_HAS_INET6, and use it to determine the default
value of USE_INET6.
Diffstat (limited to 'mk/defs.FreeBSD.mk')
-rw-r--r--mk/defs.FreeBSD.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/defs.FreeBSD.mk b/mk/defs.FreeBSD.mk
index 56f3042a7a3..6191c8afb5d 100644
--- a/mk/defs.FreeBSD.mk
+++ b/mk/defs.FreeBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.FreeBSD.mk,v 1.12 2002/12/16 09:18:56 salo Exp $
+# $NetBSD: defs.FreeBSD.mk,v 1.13 2002/12/18 06:18:14 schmonz Exp $
#
# Variable definitions for the FreeBSD operating system.
@@ -97,6 +97,11 @@ ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m`
_DO_SHLIB_CHECKS= yes # fixup PLIST for shared libs/run ldconfig
_IMAKE_MAKE= ${MAKE} # program which gets invoked by imake
_OPSYS_HAS_GMAKE= no # GNU make is not standard
+.if exists(/usr/include/netinet6)
+_OPSYS_HAS_INET6= yes # IPv6 is standard
+.else
+_OPSYS_HAS_INET6= no # IPv6 is not standard
+.endif
_OPSYS_HAS_JAVA= no # Java is not standard
_OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages
_OPSYS_HAS_OSSAUDIO= yes # libossaudio is available