Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2006 22:53:32 -0500
From:      David Scheidt <dscheidt@panix.com>
To:        Norberto Meijome <freebsd@meijome.net>
Cc:        martinko <martinkov@pobox.sk>, freebsd-questions@freebsd.org
Subject:   Re: FreeBSD Ports vs. Gentoo Portage (a matter of concept)
Message-ID:  <20060208035332.GA16285@panix.com>
In-Reply-To: <43E93587.2090200@meijome.net>
References:  <200602071149.31772.mailings.freebsd@o0l0o.org> <43E88C64.40007@xs4all.nl> <43E8A7B3.3090707@meijome.net> <dsav13$99q$1@sea.gmane.org> <20060207221026.GC2946@holestein.holy.cow> <43E93587.2090200@meijome.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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