can pkg be used to install in /opt?

Mark Felder feld at FreeBSD.org
Wed Jan 29 19:55:01 UTC 2014



On Wed, Jan 29, 2014, at 12:33, Kostas Oikonomou wrote:
> The packages math/goblin and math/glpk can't both be installed in 9.2,
> due to a conflict on a shared library they both try to install. 
> 
> Is it possible to use pkg to install a package in /opt, thus avoiding
> the shared library problem in this case?
> I can't see how to do this with pkg.  The old pkg_add had this ability.
> 

File a PR. They should be built in a way that they provide their own
shared library under a unique name. This isn't too difficult to
accomplish.


More information about the freebsd-pkg mailing list