Subject: Re: how to deal with libc vs. libresolve discrepancies?
To: NetBSD User-Level Technical Discussion List <>
From: Greg A. Woods <>
List: tech-pkg
Date: 12/20/2006 14:15:03
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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/

						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <>
Planix, Inc. <>       Secrets of the Weird <>

Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

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