tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to make packages use built in zlib?

On Tue, Jan 14, 2014 at 06:38:06PM +0000, Jonathan Perkin wrote:
 > > I noticed that the MirBSD bulk build logs contain several instances of zlib
 > > version errors. This is because there is a built-in while
 > > pkgsrc installs a slightly newer version as
 > > 
 > > Linking against libz from pkgsrc is dangerous because many binaries link
 > > against the built-in libcrypto, which pulls in the built-in libz. Thus I
 > > would like to always use the built-in zlib, which happens to be new enough
 > > for the ABI_DEPENDS in its
 > > 
 > > What is the right incantation to achieve this? Can I do it in a platform
 > > defaults file?
 > _OPSYS_PREFER.zlib?=native in mk/platform/

You shouldn't have to do that though (AIUI) -- instead, it's probably
better to find out why devel/zlib/ isn't accepting (or isn't
finding, also possible) the builtin version.

David A. Holland

Home | Main Index | Thread Index | Old Index