can pkg be used to install in /opt?

Baptiste Daroussin bapt at FreeBSD.org
Wed Jan 29 20:43:49 UTC 2014


On Wed, Jan 29, 2014 at 03:37:20PM -0500, Kostas Oikonomou wrote:
> Matthew, Mark, thanks for replying.
> 
> I ended up editing the Makefile of /usr/ports/math/goblin to set PREFIX
> = /opt/local, and installed the port.
> 
> Still, it seems to me that the ability to install a package to a
> different prefix is, occasionally, useful.
> What was the reason for removing it from pkg, when pkg_add had it?

The reason is that relocatable packages are broken by design because build
process hard code path at build time too often

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20140129/25ca2fa9/attachment.sig>


More information about the freebsd-pkg mailing list