prevent overwriting custom make options in ports

Tijl Coosemans tijl at ulyssis.org
Mon Jun 9 23:10:20 UTC 2008


On Monday 09 June 2008 16:33:01 Anton Shterenlikht wrote:
> I use ports/lang/gcc42.
> I set WITHOUT_JAVA=yes in the Makefile.
> However, with each tree update this option is
> overwritten, so I have to edit the Makefile
> each time I update the port.
> 
> What is the best way to preserve my custom setting,
> add an environment variable?

I use port-mgmt/portconf for that. It allows to set port options
in /usr/local/etc/ports.conf like:

lang/gcc42: WITHOUT_JAVA


More information about the freebsd-questions mailing list