Subject: Re: systemwide PKG_OPTIONS?
To: Geoff Wing <mason@primenet.com.au>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 03/11/2005 15:06:29
On Fri, Mar 11, 2005 at 01:12:02AM +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
Maybe it should be MKINET6=NO rather than USE_INET6, otherwise you'll hit
the problem I had building a release: ping6 gets built (MKINET6!=no), but
needs symbols which are no longer in libc (USE_INET6=no => notdef INET6)
bsd.own.mk sets USE_INET6=no if MKINET6=no..
Cheers,
Patrick