From owner-freebsd-ports@FreeBSD.ORG Tue Dec 18 16:16:47 2007 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC40F16A4D1 for ; Tue, 18 Dec 2007 16:16:47 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 065C713C478 for ; Tue, 18 Dec 2007 16:16:46 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 18 Dec 2007 16:16:45 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO homeKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp053) with SMTP; 18 Dec 2007 17:16:45 +0100 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX1/DONEG8JrDWG1fJNfruBz2yoqS+vqm5YqeCOtZpW QwHwIqC4u0fGkK Message-ID: <4767F263.2000708@gmx.de> Date: Tue, 18 Dec 2007 17:16:35 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.9 (X11/20071203) MIME-Version: 1.0 To: Pav Lucistnik References: <4767283D.70604@delphij.net> <20071218144900.M51742@FreeBSD.org> In-Reply-To: <20071218144900.M51742@FreeBSD.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: ports@FreeBSD.org, d@delphij.net Subject: Re: ports.conf: Is there a reason behind not being default? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 16:16:47 -0000 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 > > ? Actually it can only do less than that (and it won't work if /usr/ports is a symlink, at least the last time I checked). The only advantage is a more compact (and simple) syntax.