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

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Jul 2004 11:19:18 +0200
Ulrich Spoerlein <q@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"



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