Date: Wed, 22 Aug 2007 14:37:42 +0200 From: Gabriel Linder <linder@jeuxvideo.com> To: Roland Smith <rsmith@xs4all.nl> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Ports build parameters (knobs) 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Aug 2007 13:17:17 +0200 Roland Smith <rsmith@xs4all.nl> 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/<portname>/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 !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070822143742.15869cf1>