From owner-freebsd-ports@FreeBSD.ORG Tue May 9 21:21:18 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 55E7616A408 for ; Tue, 9 May 2006 21:21:18 +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 9B27143D45 for ; Tue, 9 May 2006 21:21:11 +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 k49LLjKq090039; Tue, 9 May 2006 18:21:46 -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.4/8.13.4) with ESMTP id k49LKsG7097574; Tue, 9 May 2006 18:20:54 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by omega.iib.unsam.edu.ar (8.13.4/8.13.3/Submit) id k49LKnB2097551; Tue, 9 May 2006 18:20:49 -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: Tue, 9 May 2006 18:20:49 -0300 From: Fernan Aguero To: Florent Thoumie Message-ID: <20060509212049.GE1733@iib.unsam.edu.ar> Mail-Followup-To: Florent Thoumie , Ulrich Spoerlein , Sideris Michael , freebsd-ports@freebsd.org, Jeremy Chadwick References: <20060508200926.GA6005@daemons.gr> <20060509061026.GA14039@pentarou.parodius.com> <20060509111435.GA1228@roadrunner.aventurien.local> <1147183253.4810.38.camel@mayday.esat.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1147183253.4810.38.camel@mayday.esat.net> User-Agent: Mutt/1.5.11 Cc: Sideris Michael , Jeremy Chadwick , Ulrich Spoerlein , freebsd-ports@freebsd.org Subject: Re: ports structure and improvement suggestions 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, 09 May 2006 21:21:18 -0000 +----[ Florent Thoumie (09.May.2006 11:03): | | I think you guys aren't lazy enough. | | - Put http://people.freebsd.org/~flz/local/mkconf somewhere in ${PATH}. | - Add the following to /etc/make.conf: | | === snip === | .if ${.CURDIR:N/usr/ports/*}=="" | _MKCONF!=mkconf | .for i in ${_MKCONF} | ${i} | .endfor | .endif | === snip === | | - Create a /etc/ports.conf file with lines like: | www/apache20: WITH_FOO=yes WITH_BAR=no | +----] Florent, first of all thanks for sharing this! Now, i see this works fine for WITH_X=yes stuff, but it's not working for me with the following case: x11/xterm: CONFIGURE_ARGS=--disable-bold-color --enable-256-color --enable-tcap-query or this (now quoted) x11/xterm: CONFIGURE_ARGS='--disable-bold-color --enable-256-color --enable-tcap-query' This is the error I get: "/etc/make.conf", line 16: Need an operator "/etc/make.conf", line 16: Need an operator make: fatal errors encountered -- cannot continue However, without using ports.conf, I can do cd /usr/ports/x11/xterm make CONFIGURE_ARGS='--disable-bold-color --enable-256-color --enable-tcap-query' and it will get the configure args right. My makefile magic knowledge is limited so perhaps I'm missing something obvious. Fernan