diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-09-13 09:57:36 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-09-13 09:57:36 +0000 |
commit | b38422d4fe077af6b792bf9d3fa8998b4861b6e4 (patch) | |
tree | 605f2d4dfc65d320085387892d0aafad55ec4ef7 /net/udns | |
parent | fec5524418496a72a307cfbde4bfebdfa72e8521 (diff) | |
download | pkgsrc-b38422d4fe077af6b792bf9d3fa8998b4861b6e4.tar.gz |
Add -lsocket -lnsl on SunOS, and use dns_* compat routines.
Diffstat (limited to 'net/udns')
-rw-r--r-- | net/udns/Makefile | 5 | ||||
-rw-r--r-- | net/udns/distinfo | 4 | ||||
-rw-r--r-- | net/udns/patches/patch-aa | 4 |
3 files changed, 8 insertions, 5 deletions
diff --git a/net/udns/Makefile b/net/udns/Makefile index 14e22bc1aad..91f722e2bc9 100644 --- a/net/udns/Makefile +++ b/net/udns/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2013/01/26 21:25:12 schnoebe Exp $ +# $NetBSD: Makefile,v 1.8 2013/09/13 09:57:36 jperkin Exp $ DISTNAME= udns-0.2 PKGREVISION= 2 @@ -32,6 +32,9 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/dnsget.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 ${INSTALL_MAN} ${WRKSRC}/rblcheck.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 +CFLAGS.SunOS+= -DHAVE_INET_PTON_NTOP +LDFLAGS.SunOS+= -lsocket -lnsl + .include "../../mk/bsd.pkg.mk" # gcc on NetBSD botch's if (!<ptr>) tests at -O2. (or higher) diff --git a/net/udns/distinfo b/net/udns/distinfo index 3eec4ffdd20..8f080e89d57 100644 --- a/net/udns/distinfo +++ b/net/udns/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2012/05/12 05:38:00 adam Exp $ +$NetBSD: distinfo,v 1.4 2013/09/13 09:57:36 jperkin Exp $ SHA1 (udns-0.2.tar.gz) = 416da8c95283eae45f6d2e6fb055c4ef765a3f02 RMD160 (udns-0.2.tar.gz) = 41d090516ef2f67f4d9a4a11c1db5347bf9392c8 Size (udns-0.2.tar.gz) = 87308 bytes -SHA1 (patch-aa) = d0bab8fd8d987198a38c85086a9a7d490f188603 +SHA1 (patch-aa) = 941c6726b2d6140fd5b998ba7a668f41748704c4 SHA1 (patch-ab) = 3261f7f420c2baab49830d148c969c7595d31a04 diff --git a/net/udns/patches/patch-aa b/net/udns/patches/patch-aa index 6528eea0624..f9841ed6ba5 100644 --- a/net/udns/patches/patch-aa +++ b/net/udns/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2011/01/28 08:29:34 adam Exp $ +$NetBSD: patch-aa,v 1.3 2013/09/13 09:57:36 jperkin Exp $ Make use of libtool. @@ -20,7 +20,7 @@ Make use of libtool. - -rm -f $@ - $(AR) rv $@ $(OBJS) + ${LIBTOOL} --mode=link ${CC} -o ${LIB:.a=.la} ${OBJS:.o=.lo} \ -+ -rpath ${PREFIX}/lib -version-info 0:9 ++ ${LDFLAGS} -rpath ${PREFIX}/lib -version-info 0:9 .c.o: - $(CC) $(CFLAGS) $(CDEFS) -c $< + ${LIBTOOL} --mode=compile $(CC) $(CFLAGS) $(CDEFS) -c $< |