From owner-freebsd-ports@FreeBSD.ORG Tue Jul 27 09:31:32 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA31F16A4CF for ; Tue, 27 Jul 2004 09:31:32 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0DED43D5E for ; Tue, 27 Jul 2004 09:31:31 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 29384 invoked by uid 89); 27 Jul 2004 09:25:02 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 27 Jul 2004 09:25:02 -0000 Received: from localhost (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 0275E1A5; Tue, 27 Jul 2004 12:28:25 +0300 (EEST) Received: from it.buh.tecnik93.com ([127.0.0.1]) by localhost (it.buh.tecnik93.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 54405-08; Tue, 27 Jul 2004 12:28:24 +0300 (EEST) Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with SMTP id 380E86D; Tue, 27 Jul 2004 12:28:24 +0300 (EEST) Date: Tue, 27 Jul 2004 12:28:23 +0300 From: Ion-Mihai Tetcu To: Ulrich Spoerlein 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> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at it.buh.cameradicommercio.ro cc: Ion-Mihai Tetcu cc: ports@FreeBSD.org cc: Adam Weinberger Subject: Re: configuring ports via Makefile.local X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 09:31:32 -0000 On Tue, 27 Jul 2004 11:19:18 +0200 Ulrich Spoerlein 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"