Regression in PREFIX handling in packages

Eitan Adler eadler at freebsd.org
Wed Aug 29 19:29:08 UTC 2012


On 29 August 2012 15:17, Alexander Leidinger <Alexander at leidinger.net> wrote:
> Could it be that my problem comes from r231300 and I was lucky that I
> didn't create a package on the machine with the symlinked /usr/local
> and used it on a machine with a normal /usr/local?

I have not been following this thread, so if you traced the bug to
this commit, I'll accept that.

> http://svnweb.freebsd.org/base/head/usr.sbin/pkg_install/create/perform.c?r1=228990&r2=231300
>
> What's the problem this patch tries to solve? Shouldn't the plist use
> the prefix as specified by the env variable instead of the realpath?

The specific problem this patch was trying to solve is to allow the
use of "." or other relative paths in the -p argument to pkg_create.



-- 
Eitan Adler
Source & Ports committer
X11, Bugbusting teams


More information about the freebsd-ports mailing list