Date: Tue, 9 May 2006 18:20:49 -0300 From: Fernan Aguero <fernan@iib.unsam.edu.ar> To: Florent Thoumie <flz@xbsd.org> Cc: Sideris Michael <msid@daemons.gr>, Jeremy Chadwick <freebsd@jdc.parodius.com>, Ulrich Spoerlein <uspoerlein@gmail.com>, freebsd-ports@freebsd.org Subject: Re: ports structure and improvement suggestions Message-ID: <20060509212049.GE1733@iib.unsam.edu.ar> In-Reply-To: <1147183253.4810.38.camel@mayday.esat.net> References: <20060508200926.GA6005@daemons.gr> <20060509061026.GA14039@pentarou.parodius.com> <20060509111435.GA1228@roadrunner.aventurien.local> <1147183253.4810.38.camel@mayday.esat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
+----[ Florent Thoumie <flz@xbsd.org> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060509212049.GE1733>