Per-port options in make.conf?

Yuri Pankov yuri.pankov at gmail.com
Mon Oct 22 22:11:24 PDT 2007


On Mon, 2007-10-22 at 23:32 +0100, Benjamin M. A'Lee wrote:
> Is there any way to specify options in make.conf on a per-port basis?
> 
> For example, if I want Vim built without X11, I can specify the WITHOUT_X11
> flag, but putting that in make.conf will affect every port.
> 
> I'm aware it's possible to do it with portupgrade, but I was hoping for a
> method that would work both with and without portupgrade.
> 
> Thanks in advance.
> 

ports-mgmt/portconf looks like what you want:

Portconf is a simple framework to set ports options in an
universal way. Knobs set to specific ports are honoured
by portmaster, portupgrade, portmanager and 'make install'.


Yuri


More information about the freebsd-questions mailing list