When i tried to install Latest Apache it failed while package install,
stating the following error:
./+INSTALL: line 11: UID: readonly variable
It's refusing to continue the installation.
Same thing when building apache from the ports-three
Fix:
Well, i fixed the problem when installing from ports by editing the pkg-install script, where the stated line is:
11: UID=80
When i knew that, i've left vi and did run the script trough sed,
changing each UID in the file against something other which could
not be in use as a system var (in my case i just added the S of User behind the U) - Quick and dirty, but it did work.
How-To-Repeat: Well, i don't know if it's something with my current environment,
as i did not update to 5.2.1-RELEASE yet, but if not, there
are 2 ways to repeat the problem
1. pkg_add -r apache
2. cd /usr/ports/www/apache; make install
In each case, it's the same if you are gonna build an apache2 instead of the 1.3 branche.