Listing of all available options in ports tree for use in make.conf /ports.conf (WITHOUT_ , WITH_ as well as OPTIONS_SET /UNSET)

Freddie Cash fjwcash at
Tue Mar 4 18:37:51 UTC 2014

On Tue, Mar 4, 2014 at 9:55 AM, Chad J. Milios <milios at> wrote:

> On 3/4/2014 9:40 AM, Thierry Thomas wrote:
>> Le mar  4 mar 14 à 15:05:51 +0100, Jakub Lach <jakub_lach at>
>>   écrivait :
>>> Thanks for reply!
>>> IMHO, port knobs really should be centrally tracked/standardized.
>>> When one would like to set some options globally, it gets really
>>> ugly really fast e.g.
>> It used to be in /usr/ports/KNOBS but it was removed some days ago.
>> Anyway, it's still available in svn, and most of the knobs are described
>> in /usr/ports/Mk/ .
> from within a port's directory,
> make showconfig
> will show you the current options set and
> make __MAKE_CONF=/dev/null PORT_DBDIR=/var/empty showconfig
> will show you the defaults.
> Hope this is helpful to you

If those two commands aren't in the Handbook (I'm pretty sure the first one
is), then they should be considered for inclusion.​​  Or, maybe in the
Porter's Handbook?  Or maybe ports(7)?  I can see the second command being
very useful, especially during this transitional stage where people will be
migrating/recreating their make.conf files.  Something I could have used
awhile back, before I just moved to using the binary package repos from

Freddie Cash
fjwcash at

More information about the freebsd-ports mailing list