From owner-freebsd-questions@FreeBSD.ORG Wed Feb 8 03:53:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C8AC16A420 for ; Wed, 8 Feb 2006 03:53:33 +0000 (GMT) (envelope-from dscheidt@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D12243D45 for ; Wed, 8 Feb 2006 03:53:32 +0000 (GMT) (envelope-from dscheidt@panix.com) Received: from panix1.panix.com (panix1.panix.com [166.84.1.1]) by mail1.panix.com (Postfix) with ESMTP id 21E2F59782; Tue, 7 Feb 2006 22:53:32 -0500 (EST) Received: (from dscheidt@localhost) by panix1.panix.com (8.11.6p3/8.8.8/PanixN1.1) id k183rWp04669; Tue, 7 Feb 2006 22:53:32 -0500 (EST) Date: Tue, 7 Feb 2006 22:53:32 -0500 From: David Scheidt To: Norberto Meijome Message-ID: <20060208035332.GA16285@panix.com> References: <200602071149.31772.mailings.freebsd@o0l0o.org> <43E88C64.40007@xs4all.nl> <43E8A7B3.3090707@meijome.net> <20060207221026.GC2946@holestein.holy.cow> <43E93587.2090200@meijome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43E93587.2090200@meijome.net> User-Agent: Mutt/1.5.10i Cc: martinko , freebsd-questions@freebsd.org Subject: Re: FreeBSD Ports vs. Gentoo Portage (a matter of concept) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 03:53:33 -0000 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