Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2007 09:10:49 +0400
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        "Benjamin M. A'Lee" <bma+lists@subvert.org.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Per-port options in make.conf?
Message-ID:  <1193116249.1156.4.camel@darklight.org.ru>
In-Reply-To: <20071022223239.GA2229@gilmour.subvert.org.uk>
References:  <20071022223239.GA2229@gilmour.subvert.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

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



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