If there are multiple lines in /etc/passwd containing the string "apache" (e.g. if another username or someone's home directory contains that string) then the line in the apache-1.3.x ebuilds which detects Apache's home dir fails. The line that causes the fault is: DATA_DIR=`grep apache /etc/passwd | cut -d: -f6` If there are multiple matches, DATA_DIR gets set to the home directory of each line, causing 'configure' to complain about invalid options. The line could be fixed by changing it to: DATA_DIR=`grep "^apache:" /etc/passwd | cut -d: -f6` ...i.e. only detect "apache:" at the beginning of a line.
commited to cvs
Thanks. Verifying fixed.