configuring ports via Makefile.local
Ion-Mihai Tetcu
itetcu at people.tecnik93.com
Tue Jul 27 02:31:32 PDT 2004
On Tue, 27 Jul 2004 11:19:18 +0200
Ulrich Spoerlein <q at uni.de> wrote:
> 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:
>
> .if ${.CURDIR:M*/usr/ports*}
> CFLAGS+= -O2
> MASTER_SORT_REGEX?= ://[^/]*\.de[/.] ://[^/]*\.se[/.] ://[^/]*\.nl[/.] ://[^/]*\.ch[/.] ://[^/]*\.at[/.]
> .include "/etc/ports.conf"
> .endif
>
> And my ports.conf looks like this:
>
> BATCH= true
>
> .if ${.CURDIR:M*/audio/abcde}
> WITH_CDDA2WAV= true
> WITH_DAGRAB= true
> WITH_FLAC= true
> WITH_SPEEX= true
> WITH_NORMALIZE= true
> .endif
Yes, I know it can be done. However, since we do support Makefile.local
I think Radim has a point here.
--
IOnut
Unregistered ;) FreeBSD "user"
More information about the freebsd-ports
mailing list