FreeBSD Ports vs. Gentoo Portage (a matter of concept)

David Scheidt dscheidt at panix.com
Tue Feb 7 19:53:33 PST 2006


On Wed, Feb 08, 2006 at 11:04:23AM +1100, Norberto Meijome wrote:
> 
> interesting. Is there anywhere one can read about these things, ie,
> about where and how USE_* are used/ defined, WITH_, etc. ... and how to
> compile a list of available (USE|WITH)_* and their meaning (grep -r
> USE|WITH /usr/ports/*/*/Makefile ?? )... so far i've been using the
> @freebsd.org lists to do this, but it's rather unreliable and unsystematic

Start with /usr/ports/Mk/bsd.port.mk  and if you're ears aren't
bleeding, work out from there.  That defines (nearly) all the USE_ and
WANT_.  WITH_ and WITHOUT_ are port specific, though there are some
that are used in multiple places.  Those are defined by an OPTIONS
directive in the individual port makefile like this:

OPTIONS=      FOO  "Description of foo" off \
	BAR			"Descprtion of bar" on

	Where FOO or BAR is the option name, then a description, then a
	default state.  


David


More information about the freebsd-questions mailing list