From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 12:37:45 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F169716A417 for ; Wed, 22 Aug 2007 12:37:44 +0000 (UTC) (envelope-from linder@jeuxvideo.com) Received: from www.odyssee-interactive.com (mail.VINPASSION.com [217.174.215.94]) by mx1.freebsd.org (Postfix) with ESMTP id 9326913C469 for ; Wed, 22 Aug 2007 12:37:44 +0000 (UTC) (envelope-from linder@jeuxvideo.com) Received: from oblivion.jeuxvideo.com (odyssee-interactive.rain.fr [83.206.74.241]) (authenticated bits=0) by www.odyssee-interactive.com (8.12.10/8.12.10) with ESMTP id l7MCbgOF031247; Wed, 22 Aug 2007 14:37:42 +0200 Date: Wed, 22 Aug 2007 14:37:42 +0200 From: Gabriel Linder To: Roland Smith Message-ID: <20070822143742.15869cf1@oblivion.jeuxvideo.com> In-Reply-To: <20070822111717.GB8632@slackbox.xs4all.nl> References: <20070822095408.61c11ab2@oblivion.jeuxvideo.com> <20070822111717.GB8632@slackbox.xs4all.nl> Organization: =?ISO-8859-1?Q?L'Odyss=E9e?= Interactive X-Mailer: Claws Mail 2.10.0 (GTK+ 2.8.20; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Ports build parameters (knobs) 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, 22 Aug 2007 12:37:45 -0000 On Wed, 22 Aug 2007 13:17:17 +0200 Roland Smith wrote: > On Wed, Aug 22, 2007 at 09:54:08AM +0200, Gabriel Linder wrote: > > Hello, > > > > During the build of the graphical portion of my new FreeBSD-powered > > laptop I noticed that some knobs are not listed in /usr/ports/KNOBS > > and so, I can't add them to make.conf before building the packages. > > I don't see why not. > Because I was thinking that everything possible was included in /usr/ports/KNOBS, which is not the case, I know now. > > When I run "make fetch-recursive" for fluxbox, I get : > > > > WITH_DEBUG=yes Build with debugging symbols > > WITH_DOCHTML=yes Install the HTML documentation > > WITH_DOCPDF=yes Install the PDF documentation > > WITH_GNOME=yes Enable GNOME support > > WITH_IMLIB2=yes Enable Imlib2 (pixmap themes) support > > [snip] > > > > and for libiconv : > > > > WITHOUT_EXTRA_ENCODINGS=yes Disable extra character sets > > WITH_EXTRA_PATCHES=yes Apply extra patches (fixes cp932, > > adds EUCJP-MS) > > > > GNOME and DEBUG are listed in /usr/ports/KNOBS, but IMLIB2 and > > EXTRA_PATCHES are not... Is there a way to have the full list of > > supported build options? > > Look at the port Makefile. > That's an idea, but I was looking for a list similar to /usr/ports/KNOBS, if such a list exists. If not, I guess I will have to run grep on /usr/ports :) > > Or maybe I am wrong and these settings are not > > supposed to be in make.conf but > > in /var/db/ports//options, if so please let me know :) > > If they aren't OPTIONS, just list them in make.conf like this; > > .if ${.CURDIR:M*/x11-wm/fluxbox} > WITH_IMLIB2=yes > .endif > > This way the variables are only defined when make is called from a > directory that ends in x11-wm/fluxbox. Thanks for this precision !