Subject: Re: devel/apr build problem on Solaris
To: Neil Hoggarth <neil.hoggarth@physiol.ox.ac.uk>
From: Gavan Fantom <gavan@coolfactor.org>
List: tech-pkg
Date: 03/09/2004 15:48:04
On Tue, 9 Mar 2004, Neil Hoggarth wrote:

> I'm using NetBSD pkgsrc on Solaris 9. apr-0.9.5.2.0.48nb1 (the package
> for Apache Portable Runtime) does not build for me. I wasn't sure
> whether filing a PR was appropriate (given that I'm not using NetBSD)?

Yes, definitely.

> If I were hand-building the package I'd probably try putting "-lnsl"
> on the and of the link command at this point, but I'm not sure how to
> fix this "properly" in a pkgsrc context.
>
> Does anyone have any ideas about how I should proceed?

Try:

LDFLAGS.SunOS+= -lnsl

in the package Makefile.

-- 
Gillette - the best a man can forget