summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf>2003-03-20 00:34:17 +0000
committerhubertf <hubertf>2003-03-20 00:34:17 +0000
commite53df3e54af9fe1e092fb04069e0450c2d31d300 (patch)
tree827ffed536d29ca44342d42f97a861298ebe57fc /mk
parentbc0967bda932ea1727e966a6082be2f704779b88 (diff)
downloadpkgsrc-e53df3e54af9fe1e092fb04069e0450c2d31d300.tar.gz
Alternative check if IPv6 is available with the OS.
Addresses PR 20019.
Diffstat (limited to 'mk')
-rw-r--r--mk/defs.Linux.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk
index ec752f8f9be..6e3bb124749 100644
--- a/mk/defs.Linux.mk
+++ b/mk/defs.Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Linux.mk,v 1.48 2003/03/04 14:50:11 seb Exp $
+# $NetBSD: defs.Linux.mk,v 1.49 2003/03/20 00:34:17 hubertf Exp $
#
# Variable definitions for the Linux operating system.
@@ -121,7 +121,7 @@ IMAKE_MANNEWSUFFIX= ${IMAKE_MAN_SUFFIX}
_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)
+.if exists(/usr/include/netinet6) || exists(/usr/include/linux/in6.h)
_OPSYS_HAS_INET6= yes # IPv6 is standard
.else
_OPSYS_HAS_INET6= no # IPv6 is not standard