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 <woods@weird.com>
List: tech-userlevel
Date: 12/20/2006 14:15:03
--pgp-sign-Multipart_Wed_Dec_20_14:14:58_2006-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

At Tue, 19 Dec 2006 14:16:23 +0100,
Joerg Sonnenberger wrote:
>=20
> 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.
>=20
> 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

--=20
						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>       Secrets of the Weird <woods@weird.com>

--pgp-sign-Multipart_Wed_Dec_20_14:14:58_2006-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: jKrmFkNejGmxYjyN+v8pM2PsfJmqqgVk

iQA/AwUBRYmLtmJ7XxTCWceFEQJThgCgqOBdkVIAHBw/CFbr22SgoCOp5IgAoJKL
Hn0rNOy/dVY+NARHZMTLK1tB
=2479
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Wed_Dec_20_14:14:58_2006-1--