summaryrefslogtreecommitdiff
path: root/mk/defs.Linux.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.Linux.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.Linux.mk')
-rw-r--r--mk/defs.Linux.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk
index 30db838cb1d..c62bc4f63ff 100644
--- a/mk/defs.Linux.mk
+++ b/mk/defs.Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Linux.mk,v 1.41 2002/12/16 09:18:57 salo Exp $
+# $NetBSD: defs.Linux.mk,v 1.42 2002/12/18 06:18:14 schmonz Exp $
#
# Variable definitions for the Linux operating system.
@@ -87,6 +87,11 @@ ZOULARISBASE?= /usr/pkg
_DO_SHLIB_CHECKS= no # on installation, fixup PLIST for shared libs
_IMAKE_MAKE= ${MAKE} # program which gets invoked by imake
_OPSYS_HAS_GMAKE= yes # GNU make is 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= no # no MANZ for gzipping of man pages
_OPSYS_HAS_OSSAUDIO= no # libossaudio is available