DATADIR recorded as a relative path in plist ?

2011-02-02 Thread Ganael LAPLANCHE
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

Re: DATADIR recorded as a relative path in plist ?

2011-02-02 Thread Anonymous
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

Re: DATADIR recorded as a relative path in plist ?

2011-02-02 Thread Ganael LAPLANCHE
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