From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 11:26:17 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 43EE216A494 for ; Wed, 22 Aug 2007 11:26:17 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.freebsd.org (Postfix) with ESMTP id CCA0713C46B for ; Wed, 22 Aug 2007 11:26:16 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id l7MBQEv9017891; Wed, 22 Aug 2007 13:26:15 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id A4FD3B833; Wed, 22 Aug 2007 13:17:17 +0200 (CEST) Date: Wed, 22 Aug 2007 13:17:17 +0200 From: Roland Smith To: Gabriel Linder Message-ID: <20070822111717.GB8632@slackbox.xs4all.nl> Mail-Followup-To: Gabriel Linder , FreeBSD Questions References: <20070822095408.61c11ab2@oblivion.jeuxvideo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dTy3Mrz/UPE2dbVg" Content-Disposition: inline In-Reply-To: <20070822095408.61c11ab2@oblivion.jeuxvideo.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner 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 11:26:17 -0000 --dTy3Mrz/UPE2dbVg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 22, 2007 at 09:54:08AM +0200, Gabriel Linder wrote: > Hello, >=20 > 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. =20 > When I run "make fetch-recursive" for fluxbox, I get : >=20 > WITH_DEBUG=3Dyes Build with debugging symbols > WITH_DOCHTML=3Dyes Install the HTML documentation > WITH_DOCPDF=3Dyes Install the PDF documentation > WITH_GNOME=3Dyes Enable GNOME support > WITH_IMLIB2=3Dyes Enable Imlib2 (pixmap themes) support > [snip] >=20 > and for libiconv : >=20 > WITHOUT_EXTRA_ENCODINGS=3Dyes Disable extra character sets > WITH_EXTRA_PATCHES=3Dyes Apply extra patches (fixes cp932, adds > EUCJP-MS) >=20 > 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. > 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; =2Eif ${.CURDIR:M*/x11-wm/fluxbox} WITH_IMLIB2=3Dyes =2Eendif This way the variables are only defined when make is called from a directory that ends in x11-wm/fluxbox. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --dTy3Mrz/UPE2dbVg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGzBs9EnfvsMMhpyURAuJAAJ91uhDHYHdnNuR9rJjO3Pmg2dJYbACfWkeQ 14vW+fn2a/kuHkvSqhAgQK8= =B12l -----END PGP SIGNATURE----- --dTy3Mrz/UPE2dbVg--