Subject: Re: systemwide PKG_OPTIONS?
To: mason@primenet.com.au, Kurt Albershardt <kurt@nv.net>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: current-users
Date: 03/11/2005 08:26:03
On Fri, 2005-03-11 at 01:12 +0000, Geoff Wing wrote:
> Kurt Albershardt <kurt@nv.net> typed:
> : Is there something I can put into mk.conf (or somewhere else) that will
> :always exclude certain PKG_OPTIONS?
> : e.g. I'd like to exclude inet6 from everything I build.
> 
> pkgsrc also uses USE_INET6 var.
> 
> % echo "USE_INET6=NO" >> /etc/mk.conf

Yes, and that variable is about to disappear and is currently not
honored by all packages.  You may keep this one, but you must also
add:

PKG_DEFAULT_OPTIONS+= -inet6 -ipv6

(why two? because it is still not homogenized... should be some
day...)

-- 
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/