On Tue, 2006-Jan-31 14:20:33 -0500, Kris Kennaway wrote: >On Wed, Feb 01, 2006 at 05:28:42AM +1100, Peter Jeremy wrote: >> On Sat, 2006-Jan-28 02:11:36 +0000, Mark Linimon wrote: >> > Modified files: >> > . Makefile >> > Mk bsd.port.mk bsd.port.subdir.mk >> ... >> > Revision Changes Path >> > 1.95 +17 -11 ports/Makefile >> > 1.524 +43 -40 ports/Mk/bsd.port.mk >> > 1.64 +6 -4 ports/Mk/bsd.port.subdir.mk >> >> I have my ports tree in /home, rather than /usr and since these >> changes, I am getting extensive errors from 'portsdb -uU': > >What configuration variables are you setting? e.g. PORTSDIR, etc.
/usr/local/etc/pkgtools.conf: ENV['PORTSDIR'] ||= '/usr/ports' ENV['PACKAGES'] ||= ENV['PORTSDIR'] + '/packages' ENV['PKG_PATH'] ||= ENV['PACKAGES'] + '/All' ENV['PKG_TMPDIR'] ||= '/var/tmp' ENV['PORTS_DBDIR'] ||= '/var/db/ports' server% ls -l /usr/ports lrwxr-xr-x 1 root wheel 11 1 Jan 2005 /usr/ports -> /home/ports Nothing relevant in the environment. I've done some checking and if I change PORTSDIR to /home/ports then the messages disappear. This implies that PORTSDIR must be the absolute pathname - which isn't mentioned in the documentation. -- Peter Jeremy
pgpfOmol3KGfF.pgp
Description: PGP signature