Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2004 11:19:18 +0200
From:      Ulrich Spoerlein <q@uni.de>
To:        Ion-Mihai Tetcu <itetcu@apropo.ro>
Cc:        Adam Weinberger <adamw@FreeBSD.org>
Subject:   Re: configuring ports via Makefile.local
Message-ID:  <20040727091918.GA57928@galgenberg.net>
In-Reply-To: <20040722234929.3a26c643@it.buh.tecnik93.com>
References:  <20040722183844.GA31640@sanatana.dharma> <20040722204055.GF14233@toxic.magnesium.net> <20040722234929.3a26c643@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, 22.07.2004 at 23:49:29 +0300, Ion-Mihai Tetcu wrote:
> > >> end of "configuring ports via Makefile.local" from Radim Kolar <<
> > Are you sure that /etc/make.conf isn't more what you're looking for?
> Not sure about what he's looking, but I'm sure I would want this. The
> trouble with make.conf is name-space pollution. I don't what all my
> ports compiled with WITH_DEBUG, for example.

Easy. I use the following snippet in make.conf:

=2Eif ${.CURDIR:M*/usr/ports*}
CFLAGS+=3D        -O2
MASTER_SORT_REGEX?=3D ://[^/]*\.de[/.] ://[^/]*\.se[/.] ://[^/]*\.nl[/.] :/=
/[^/]*\.ch[/.] ://[^/]*\.at[/.]
=2Einclude "/etc/ports.conf"
=2Eendif

And my ports.conf looks like this:

BATCH=3D          true

=2Eif ${.CURDIR:M*/audio/abcde}
WITH_CDDA2WAV=3D  true
WITH_DAGRAB=3D    true
WITH_FLAC=3D      true
WITH_SPEEX=3D     true
WITH_NORMALIZE=3D true
=2Eendif

=2Eif ${.CURDIR:M*/graphics/gimp*}
WITH_PYTHON=3D    true
WITHOUT_PRINT=3D  true
WITH_HTML_HELP_BROWSER=3Dtrue
=2Eendif

=2E..

You get the idea...

Ulrich Spoerlein
--=20
PGP Key ID: F0DB9F44				Get it while it's hot!
PGP Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."	-- Benjamin Franklin

--6TrnltStXW4iwmi0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBBh4WmArGtfDbn0QRArDnAJ9vzpyrxn6VAuc0Xfu973621vC9zQCghxJg
kAs5gwM7xzrJ45zPQZX+KGg=
=DXRg
-----END PGP SIGNATURE-----

--6TrnltStXW4iwmi0--



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