Subject: Re: USE_INET6
To: Iain Hibbert <plunky@rya-online.net>
From: Juan RP <juan@xtrarom.org>
List: tech-pkg
Date: 04/16/2006 11:13:37
On Sun, 16 Apr 2006 10:04:35 +0100 (BST)
Iain Hibbert <plunky@rya-online.net> wrote:

> is NetBSD source being converted to use PKG_OPTIONS framework?

Of course not :-)

> My thought is, that it might be deprecated for pkgsrc,
> but /etc/mk.conf is not used only by pkgsrc, and this variable is
> used elsewhere.

You can protect this one from being defined in pkgsrc:

.ifdef BSD_PKG_MK # pkgsrc block

PKG_DEFAULT_OPTIONS+= inet6

.else # src block

USE_INET6=blah

.endif