storing make options / interactive configuration

Christopher Illies christopher.illies at molmed.ki.se
Wed Jul 20 12:45:19 GMT 2005


On Tue, Jul 19, 2005 at 10:42:19PM -0400, Rob Paxon wrote:

> 3.) Where do you guys prefer to store your make options? I've read
> using 'pkgtools.conf', but assume this doesn't effect 'make install',
> only portupgrade et al.

I use something like the following in my /etc/make.conf:

######################
#port specific options
######################
.if ${.CURDIR:M*/www/mplayer-plugin}
WITH_MOZILLA=firefox
.endif

This way it works well both with 'make install' and portupgrade/
portmanager.  I took the idea from the portmanager man page.

Christopher


More information about the freebsd-questions mailing list