Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2008 01:10:10 +0200
From:      Tijl Coosemans <tijl@ulyssis.org>
To:        freebsd-questions@freebsd.org, Anton Shterenlikht <mexas@bristol.ac.uk>
Subject:   Re: prevent overwriting custom make options in ports
Message-ID:  <200806100110.12056.tijl@ulyssis.org>
In-Reply-To: <20080609143300.GA37436@mech-aslap33.men.bris.ac.uk>
References:  <20080609143300.GA37436@mech-aslap33.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806100110.12056.tijl>