From owner-freebsd-ports@FreeBSD.ORG Wed Jun 7 23:17:21 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 D2B2316EE38; Wed, 7 Jun 2006 20:48:09 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8CDB43D45; Wed, 7 Jun 2006 20:48:05 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (omega.iib.unsam.edu.ar [192.168.10.14]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id k57Kkwoh001604; Wed, 7 Jun 2006 17:46:58 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (localhost [127.0.0.1]) by omega.iib.unsam.edu.ar (8.13.6/8.13.6) with ESMTP id k57Km0w2012979; Wed, 7 Jun 2006 17:48:00 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by omega.iib.unsam.edu.ar (8.13.6/8.13.3/Submit) id k57KlxXD012976; Wed, 7 Jun 2006 17:47:59 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: omega.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Wed, 7 Jun 2006 17:47:59 -0300 From: Fernan Aguero To: Alex Dupre Message-ID: <20060607204759.GI81931@iib.unsam.edu.ar> Mail-Followup-To: Alex Dupre , Florent Thoumie , Doug Barton , freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Cc: Doug Barton , freebsd-ports@freebsd.org, Florent Thoumie Subject: portsconf (Was Re: portmaster) 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: Wed, 07 Jun 2006 23:17:29 -0000 +----[ Alex Dupre (07.Jun.2006 16:08): | | Florent Thoumie wrote: | >It should not be portmaster specific. The error has been made with | >portupgrade and portmanager. Please don't do it again. | | You are absolutely right. | | >I've proposed a somewhat hackish solution for this some weeks ago: | | And I've extended it to create a primitive but usable port: | | http://www.alexdupre.com/portconf.tar.gz | | Please test and comment. | | I've happily replaced portupgrade with portmaster + portconf. | +----] Alex, everything is working for me. However, the issues about truncated values described in http://lists.freebsd.org/pipermail/freebsd-ports/2006-May/032068.html still exist. So, to your pkg-message I would add that care should be taken to avoid quoting the values of variables or else strange things would happen. Using the cases described in the above reference (in ports.conf): this works: CONFIGURE_ARGS=--enable-xxx --disable-yyy --with-zzz but these doesn't CONFIGURE_ARGS='--enable-xxx --disable-yyy --with-zzz' CONFIGURE_ARGS="--enable-xxx --disable-yyy --with-zzz" even if the latter two would work on the command line. I still don't understand how truncation happens :( Finally, for consistency (and this is just a cosmetic issue), I'd either rename the port to 'portsconf' or rename the configuration file to 'port.conf' i.e. the script => portsconf the config file => ports.conf the port => portsconf (PORTNAME= portsconf) or the script => portconf the config file => port.conf the portname => portconf Fernan