pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/47546: pkgsrc: linux support for net/host



On Saturday, February 9, 2013 at 4:15 AM, David Holland wrote:
> The following reply was made to PR pkg/47546; it has been noted by GNATS.
> 
> From: David Holland <dholland-pbugs%netbsd.org@localhost 
> (mailto:dholland-pbugs%netbsd.org@localhost)>
> To: gnats-bugs%NetBSD.org@localhost (mailto:gnats-bugs%NetBSD.org@localhost)
> Cc: 
> Subject: Re: pkg/47546: pkgsrc: linux support for net/host
> Date: Sat, 9 Feb 2013 09:10:28 +0000
> 
> On Fri, Feb 08, 2013 at 11:35:00PM +0000, rkitover%gmail.com@localhost 
> (mailto:rkitover%gmail.com@localhost) wrote:
> > +.if ${OPSYS} == "Linux"
> > +LDFLAGS+= -lresolv -lnsl
> 
> ^^^^^
> > +BUILDLINK_TRANSFORM+= rm:-static
> > +.endif
> 
> 
> Are you sure? I don't think I've ever seen a Linux with -lnsl...
> 
> -- 
> David A. Holland
> dholland%netbsd.org@localhost (mailto:dholland%netbsd.org@localhost)


Sorry, a case of copypasta. 

I do have a libnsl actually (rhel 6) but it isn't necessary:

rkitover@amsems2wb-Stage ~/src/pkgsrc/net/host % ls -l /usr/lib/libnsl*
-rw-r--r-- 1 root root 147558 Jan 31 06:06 /usr/lib/libnsl.a
lrwxrwxrwx 1 root root 21 Feb 8 18:03 /usr/lib/libnsl.so -> 
../../lib/libnsl.so.1

Just -lresolv builds the package fine.

Unfortunately it spews a bunch of warning during build, but my pkgsrc skills 
are not up to par to fix those.


Home | Main Index | Thread Index | Old Index