Regression in PREFIX handling in packages

Bryan Drewery bryan at
Sun Aug 26 20:58:16 UTC 2012

On 8/26/2012 3:54 PM, Alexander Leidinger wrote:
> Hi,
> I detected a regression in the handling of the registration of the
> PREFIX in packages. I'm not sure when it was introduced, surely more
> than a month ago.

Are you using any tools for managing these packages? portmaster,

Or just pkg_add -r?

> The problem:
>  - I have a symlink from /usr/local to another place X.
>  - I share packages between this system A and some jails.
>  - The jails don't have place X and /usr/local is no symlink.
>  - Packages generated on the system A are installed into place X in
>    the jails.
> So in short: the realpath of PREFIX is recorded in the packages, not
> the value of PREFIX as before.
> I had a quick look at bsd.*.mk, but didn't notice something obvious. So
> in case it is pkg_create which is doing this, I updated from r238438
> to r239708.
> Bye,
> Alexander.

Bryan Drewery
bdrewery at freenode/EFNet

More information about the freebsd-ports mailing list