portupgrade and make options

Adam J Richardson fatman at crackmonkey.us
Fri Aug 24 06:43:44 PDT 2007


Roland Smith wrote:
> Fortunately, there is a way to turn the axe into a scalpel. :-)
> 
> You can put stuff in make.conf so that it will only affect the ports
> you want. Like this;
> 
> .if ${.CURDIR:M*/multimedia/mplayer}
> WITH_DVD_DEVICE=/dev/cd1
> WITH_CDROM_DEVICE=/dev/cd1
> .endif
> 
> If the directory where make is invoked from ends in /multimedia/mplayer,
> the variables inside the if-block will be set.
> 
> This works well because every update utility in the end invokes make to
> build the port.
> 
> Roland

Ahh, so that's what that is. I've seen that kind of thing in my 
make.conf after installing ccache. Or is it distcc? I think it's ccache.

Adam J Richardson


More information about the freebsd-questions mailing list