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 libz.so.5.4 while
> > pkgsrc installs a slightly newer version as libz.so.1.0.
> >
> > 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 builtin.mk.
> >
> > What is the right incantation to achieve this? Can I do it in a platform
> > defaults file?
>
> _OPSYS_PREFER.zlib?=native in mk/platform/MirBSD.mk
You shouldn't have to do that though (AIUI) -- instead, it's probably
better to find out why devel/zlib/builtin.mk isn't accepting (or isn't
finding, also possible) the builtin version.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index