Subject: Re: IPv6 package detection
To: Jun-ichiro itojun Hagino <itojun@iijlab.net>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 03/29/2000 17:47:05
On Wed, 29 Mar 2000, Jun-ichiro itojun Hagino wrote:
> 	Hello, how does
> 	ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/README-IPv6.html
> 	detect IPv6-ready pkgsrc?  I wonder why net/bind9 is considered as
> 	IPv6-ready package, while it has no BUILD_DEFS+=USE_INET6. 

From pkgsrc/Makefile:

README-IPv6.html:
        @grep -l USE_INET6 */*/Makefile | sed s,.Makefile,, >$@.pkgs
	...

If we find something smarter, we sure can use it, but I didn't find
anything better.


> What is
> 	the right way to write Makefile for:
> 	- pkgsrc that are not IPv6 ready
> 	- pkgsrc that are always IPv6 ready
> 	- pkgsrc that autodetects IPv6 readiness

AFAIK we don't have any way to express this right now.


 - Hubert

-- 
Microsoft: "Where do you want to go today?"
Linux:     "Where do you want to be tomorrow?"
BSD:       "Are you guys coming, or what?"