ports structure and improvement suggestions
Fernan Aguero
fernan at iib.unsam.edu.ar
Wed May 10 00:39:44 UTC 2006
+----[ Florent Thoumie <flz at xbsd.org> (09.May.2006 18:36):
|
| > 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,
thanks now for a fast turnaround :)
unfortunately, this doesn't work.
My /etc/ports.conf:
# requires mkconf shell script in ${PATH}
# http://people.freebsd.org/~flz/local/mkconf
# cat/port: VAR="VAL"|VAR2="VAL2 VAL3"
mail/mutt-devel: WITH_MUTT_NCURSES="1"|WITH_MUTT_SIGNATURE_MENU="1"
math/gnuplot: WITH_HISTOGRAMS="1"
sysutils/screen: WITH_XTERM_256="1"
print/ghostscript-gnu: A4="1"
textproc/aspell: ASPELL_EN="1"|ASPELL_ES="1"
x11/xterm: CONFIGURE_ARGS="--enable-me --and-me"
I'm testing this with a simple
cd /usr/ports/category/port && make clean
For all ports above it works, except for x11/xterm.
The problem seems to be the space within the quoted value:
the following works:
x11/xterm: CONFIGURE_ARGS='--enable-me'
but this doesn't:
x11/xterm: CONFIGURE_ARGS='--enable-me --and-me'
"/etc/make.conf", line 16: Need an operator
make: fatal errors encountered -- cannot continue
line 16 of my /etc/make.conf is the
${i}
within the .for loop
Fernan
More information about the freebsd-ports
mailing list