cvs commit: ports Makefile ports/Mk bsd.port.mk bsd.port.subdir.mk ports/converters/mule-ucs Makefile ports/converters/mule-ucs-emacs20 Makefile ports/databases/bbdb Makefile ports/databases/bbdb-emacs20 Makefile ports/databases/gnats4 ...

Kris Kennaway kris at obsecurity.org
Tue Jan 31 22:48:38 PST 2006


On Wed, Feb 01, 2006 at 05:15:51PM +1100, Peter Jeremy wrote:
> 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.

There's an old PR about it:

  http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/35767

I'm actually surprised to hear that it started working at some point.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20060201/135b2732/attachment.bin


More information about the cvs-all mailing list