Hi !
While struggling with DATADIR-safety messages from portlint, I've
noticed something very odd : DATADIR, which is supposed to be an
absolute path, is recorded as a relative path (to ${PREFIX}, I suppose)
in pkg-plist.
This leads to being unable to deinstall a port which has been installed
Ganael LAPLANCHE ganael.laplan...@martymac.org writes:
# make DATADIR=/tmp/pciids deinstall
=== Deinstalling for misc/pciids
=== Deinstalling pciids-20101124
pkg_delete: file '/usr/local//tmp/pciids/pci.ids' doesn't exist
pkg_delete: file '/usr/local//tmp/pciids' doesn't exist
On Wed, 02 Feb 2011 12:17:13 +0300, Anonymous wrote
Hi,
You cannot define DATADIR that's PREFIX-unsafe without using @cwd.
And using @cwd makes `-p/-P' options in pkg_add(1) less useful.
Not sure why portlint even mentions safeness for
DOCSDIR/EXAMPLESDIR/DATADIR as they were never safe