Date: Tue, 18 Dec 2007 09:53:03 -0600 (CST) From: "Sean C. Farley" <scf@FreeBSD.org> To: Pav Lucistnik <pav@FreeBSD.org> Cc: ports@FreeBSD.org, d@delphij.net Subject: Re: ports.conf: Is there a reason behind not being default? Message-ID: <alpine.BSF.0.999999.0712180946080.8092@thor.farley.org> In-Reply-To: <20071218144900.M51742@FreeBSD.org> References: <4767283D.70604@delphij.net> <20071218144900.M51742@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 18 Dec 2007, Pav Lucistnik wrote: > On Mon, 17 Dec 2007 17:54:05 -0800, Xin LI wrote > >> I think that ports-mgmt/portconf (a.k.a. /usr/local/etc/ports.conf) >> is a very handy feature that makes it much easier to store port >> options across upgrade. Is there a reason behind not making it into >> bsd.ports.mk? IMHO it's a big deal to take the script into >> ports/Tools/scripts, and move the configuration to somewhere like >> /etc/ports.conf... > > I haven't checked it out yet. What can it do that can't be done in > /etc/make.conf with constructs like > > .if ${.CURDIR} == "/usr/ports/editors/vim" > WITH_GTK2=yes > .endif I find it simpler to use: editors/vim: WITH_GTK2 or for all vim ports: editors/vim*: WITH_GTK2 Multiple ports on one line: multimedia/mencoder multimedia/mplayer: WITH_NVIDIA Defaults for all ports *: BATCH |\ SRC_BASE=/usr/FreeBSD/RELENG_7/src |\ SYSDIR=/usr/FreeBSD/RELENG_7/src/sys |\ WITH_NVIDIA_GL Sean -- scf@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.0.999999.0712180946080.8092>