Subject: Recognizing IPv6 in Linux [was: Re: pkg/20019]
To: None <tech-pkg@netbsd.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 03/19/2003 09:12:28
Can someone please ACK/NAK on this change in the context of PR pkg/20019
please:

Index: defs.Linux.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/defs.Linux.mk,v
retrieving revision 1.48
diff -u -r1.48 defs.Linux.mk
--- defs.Linux.mk       2003/03/04 14:50:11     1.48
+++ defs.Linux.mk       2003/03/19 08:10:36
@@ -121,7 +121,7 @@
 _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


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/