bsd.lib.mk and PREFIX

Matthew Seaman matthew at FreeBSD.org
Fri Sep 25 14:16:29 UTC 2015


On 2015/09/25 14:34, Jonathan Anderson wrote:
> I can’t, for the life of me, figure out why the ports framework wants to
> install a library into `/usr/lib` instead of `/usr/local/lib`, or what
> variable I could set to override this behaviour. Any ideas?

pkg(8) before about version 1.3 (I think) use BSD style makefiles and
managed to install a shlib into $PREFIX/lib

Does this help?

https://github.com/freebsd/pkg/blob/1.2.7/libpkg/Makefile

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 972 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150925/8a268d02/attachment.bin>


More information about the freebsd-ports mailing list