ports structure and improvement suggestions

Florent Thoumie flz at xbsd.org
Tue May 9 21:33:49 UTC 2006


On Tue, 2006-05-09 at 18:20 -0300, Fernan Aguero wrote:
> +----[ Florent Thoumie <flz at 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!

Sure, no problem :-)

> 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'

Refetch the script and use the following format:

cat/port: VAR="VAL"|VAR2="VAL2 VAL3"

That should work.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060509/c9857d47/attachment.pgp


More information about the freebsd-ports mailing list