[Zope] ports install on FreeBSD 4.5

Jack Coates jack@monkeynoodle.org
30 Jul 2002 09:57:04 -0700


Zope won't install from the ports tree, throwing this error:

PKG_PREFIX=/usr/local /bin/sh pkg-install zope-2.5.1_2 PRE-INSTALL
pkg-install: UID: readonly variable

I fixed it by editing pkg-install and replacing all instances of UID
with ZUID.

It looks to me like the intent of the script is to set what UID and GID
Zope runs under, and echo $UID returns a value which the script is not
allowed to overwrite.

-- 
Jack Coates
Monkeynoodle: A Scientific Venture...