Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 01:51:09 -0800
From:      Eivind Eklund <eivind@FreeBSD.org>
To:        Joe Marcus Clarke <marcus@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: HEADS UP: New bsd.*.mk changes
Message-ID:  <20040120095109.GG28508@FreeBSD.org>
In-Reply-To: <1074590694.85583.20.camel@shumai.marcuscom.com>
References:  <1074590694.85583.20.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 20, 2004 at 04:24:55AM -0500, Joe Marcus Clarke wrote:
> Type: FEATURE
> 
> Title: Add per-port persistent build options with a menu-driven
> front-end
> 
> Affects: bsd.port.mk
> 
> Description: Probably one of the most anticipated new features for the
> ports system is the ability to have persistent per-port build options.
> This new feature adds that functionality as well as a new menu-driven
> interface for setting those per-port options.  Porters will need to set
> the OPTIONS macro in their port's Makefile to a list of WITH_ options
> supported by that port.  The format is <option> "<description>"
> [on|off].  For example: FLEXRESP "Flexible response to events" off.
> This says that this port supports a WITH_FLEXRESP option that is not
> defined by default.  This option's description is, "Flexible response
> to events."  Multiple options should be chained into the one OPTIONS
> macro.  NOTE: For OPTIONS to work, you must define OPTIONS before
> bsd.port.pre.mk.  In order to configure these options, use the
> ``config'' target.  Doing ``make config'' will pop up a curses-based
> dialog which lists all the available options for the given port.
> Changes are saved in a per-port directory under PORTS_DBDIR (default:
> /var/db/ports).  To view configurable options for a port, use the
> ``showconfig'' target.  To set all port options back to the defaults,
> use the ``rmconfig'' target.
> 
> PR:
> 
> Submitted by: eivind

I think about half the credit should go to kris (he did a bunch
of work to bang my rough patches into line with port system
requirements - I just did the initial and debugging work.)

Eivind.



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