Subject: Re: how to deal with libc vs. libresolve discrepancies?
To: NetBSD User-Level Technical Discussion List <tech-userlevel@NetBSD.org>
From: Greg A. Woods <email@example.com>
Date: 12/20/2006 14:15:03
Content-Type: text/plain; charset=US-ASCII
At Tue, 19 Dec 2006 14:16:23 +0100,
Joerg Sonnenberger wrote:
> On Mon, Dec 18, 2006 at 01:01:58PM -0500, Greg A. Woods wrote:
> > So, here's what happens, this example from net/lft. In the past I've
> > just blasted in and patched the errant config script or makefile to get
> > rid of the problem-causing unnecessary "-lresolv", and sometimes I think
> > I've even submitted a patch and/or PR, thus the cross-post to tech-pkg.
> You can use something like BUILDLINK_TRANSFORM+=3D l:resolv:
> in /etc/mk.conf I think.
Thanks! YAY! It works!
> This is not appropiate for general pkgsrc use
> though, as on some platforms the libc resolver is not fully thread-safe
> in contrast to e.g. BIND versions (libresolv).
Well I put it in mk/platform/NetBSD.mk
Greg A. Woods
H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <firstname.lastname@example.org>
Planix, Inc. <email@example.com> Secrets of the Weird <firstname.lastname@example.org>
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
-----END PGP SIGNATURE-----