Setting make options permanently (WITHOUT_GNOME, etc)
mcrogerm at stjohn.ac.th
Tue Apr 1 18:45:47 PST 2003
At 06:31 PM 4/1/03, Erik Trulsson wrote:
>On Tue, Apr 01, 2003 at 02:13:38PM +0300, Dan Naumov wrote:
> > Hello
> > I've been wondering whether it is possible to make make (pardon the
> > wording) always use specific options. For example, I see that many ports
> > allow the user to set WITHOUT_GNOME or WITHOUT_X prior to building the
> > port.
> > 1) Is there a definite list of these variables ?
> > 2) Is it possible to somehow permanently set some of those variables so
> > that I wouldn't have to do that manually every time I want to update a
> > port ?
>Add them to /etc/make.conf
Another good way is to set them in /usr/local/etc/pkgtools.conf, if you use
'portupgrade'. That way you can set them for only the ports they apply to.
> > I've checked /usr/share/examples/etc/make.conf and The HandBook, but
> > neither had any information on setting things like this up. Any ideas ?
man portupgrade (if you have it installed -- if not, consider installing it).
More information about the freebsd-ports