Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Feb 2011 12:17:13 +0300
From:      Anonymous <swell.k@gmail.com>
To:        "Ganael LAPLANCHE" <ganael.laplanche@martymac.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: DATADIR recorded as a relative path in plist ?
Message-ID:  <86r5bqokx2.fsf@gmail.com>
In-Reply-To: <20110202075517.M86909@martymac.org> (Ganael LAPLANCHE's message of "Wed, 2 Feb 2011 09:05:43 %2B0100 (CET)")
References:  <20110202075517.M86909@martymac.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Ganael LAPLANCHE" <ganael.laplanche@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
> pkg_delete: unable to completely remove directory '/usr/local//tmp/pciids'
> pkg_delete: couldn't entirely delete package (perhaps the packing list is
> incorrectly specified?)
>
> Am I missing something here ?

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 for *user* to
override. According to CVS history it was requested by pav@.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r5bqokx2.fsf>