HEADS UP for portmaster users: Mandatory upgrade

Doug Barton dougb at FreeBSD.org
Sun Aug 5 05:20:31 UTC 2007


Howdy,

The short version is that the DESTDIR changes that were made to
ports/Mk/bsd.port.mk today broke the method that portmaster was using
to detect variable PORTSDIR and PKG_DBDIR. It's fixed now, but in
order to keep using portmaster you must upgrade.

You won't be able to use portmaster to do the upgrade, so you'll have
to do it the old fashioned way:
pkg_delete portmaster*
cd /usr/ports/ports-mgmt/portmaster
make clean ; make install

After that you should be fine.

Regards,

Doug

-------- Original Message --------
Date: Sun, 5 Aug 2007 05:04:15 +0000 (UTC)

dougb       2007-08-05 05:04:15 UTC

  FreeBSD ports repository

  Modified files:
    ports-mgmt/portmaster/files portmaster.sh.in
  Log:
  1. Change to 'make -f/usr/share/mk/bsd.port.mk' in several places
     due to the DESTDIR changes today.
  2. Export pd, pdb, and distdir to avoid having to look them up each
     time
  3. Streamline find_moved() by grepping for lines, and then recursing
  4. Further streamline by using variable stripping instead of cut

http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/ports-mgmt/portmaster/files/portmaster.sh.in.diff?&r1=1.18&r2=1.19&f=h




More information about the freebsd-ports mailing list