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.


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"
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
within the .for loop


More information about the freebsd-ports mailing list