pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libcares Fix parallel build with BSD make.
details: https://anonhg.NetBSD.org/pkgsrc/rev/5fa0ecd0dc78
branches: trunk
changeset: 353128:5fa0ecd0dc78
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Sep 30 09:00:10 2016 +0000
description:
Fix parallel build with BSD make.
Sent upstream.
diffstat:
net/libcares/Makefile | 7 +++++--
net/libcares/distinfo | 3 ++-
net/libcares/patches/patch-Makefile.am | 27 +++++++++++++++++++++++++++
3 files changed, 34 insertions(+), 3 deletions(-)
diffs (66 lines):
diff -r 51b463c21c69 -r 5fa0ecd0dc78 net/libcares/Makefile
--- a/net/libcares/Makefile Fri Sep 30 04:06:07 2016 +0000
+++ b/net/libcares/Makefile Fri Sep 30 09:00:10 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2016/09/29 14:24:33 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2016/09/30 09:00:10 wiz Exp $
DISTNAME= c-ares-1.12.0
PKGNAME= ${DISTNAME:S/c-/libc/1}
@@ -12,8 +12,11 @@
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
-USE_TOOLS+= gmake
+USE_TOOLS+= automake
PKGCONFIG_OVERRIDE+= libcares.pc.in
+pre-configure:
+ cd ${WRKSRC} && automake
+
.include "../../mk/bsd.pkg.mk"
diff -r 51b463c21c69 -r 5fa0ecd0dc78 net/libcares/distinfo
--- a/net/libcares/distinfo Fri Sep 30 04:06:07 2016 +0000
+++ b/net/libcares/distinfo Fri Sep 30 09:00:10 2016 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2016/09/29 14:19:59 wiz Exp $
+$NetBSD: distinfo,v 1.12 2016/09/30 09:00:10 wiz Exp $
SHA1 (c-ares-1.12.0.tar.gz) = 8abfce61d2d788fb60a3441d05275162a460cbed
RMD160 (c-ares-1.12.0.tar.gz) = 731085f5d46eabac858eee4c2bde87f70687445e
SHA512 (c-ares-1.12.0.tar.gz) = 3da0fadb04eccab49b4e6eff3f087a392dd76238d47e74e2ede723883468da688e41f679ee8ca38613fc4f80d3bd7c29e69d3d6c711f988a02fd5d21a3ee1dc6
Size (c-ares-1.12.0.tar.gz) = 1769879 bytes
+SHA1 (patch-Makefile.am) = aef2a0e1975aadab33e647752fd44e30fbfb568a
SHA1 (patch-configure) = 1726722a94960fabc7fd69c8e7f9ca40a1492713
diff -r 51b463c21c69 -r 5fa0ecd0dc78 net/libcares/patches/patch-Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libcares/patches/patch-Makefile.am Fri Sep 30 09:00:10 2016 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-Makefile.am,v 1.1 2016/09/30 09:00:10 wiz Exp $
+
+Fix parallel build with BSD make.
+
+--- Makefile.am.orig 2016-09-29 10:51:46.000000000 +0000
++++ Makefile.am
+@@ -150,17 +150,17 @@ libcares_la_HEADERS = ares.h ares_versio
+ ares_build.h ares_rules.h
+
+ ahost_SOURCES = ahost.c $(SAMPLESOURCES) $(SAMPLEHEADERS)
+-ahost_LDADD = $(top_builddir)/libcares.la
++ahost_LDADD = libcares.la
+ ahost_CFLAGS = $(AM_CFLAGS)
+ ahost_CPPFLAGS = $(AM_CPPFLAGS)
+
+ adig_SOURCES = adig.c $(SAMPLESOURCES) $(SAMPLEHEADERS)
+-adig_LDADD = $(top_builddir)/libcares.la
++adig_LDADD = libcares.la
+ adig_CFLAGS = $(AM_CFLAGS)
+ adig_CPPFLAGS = $(AM_CPPFLAGS)
+
+ acountry_SOURCES = acountry.c $(SAMPLESOURCES) $(SAMPLEHEADERS)
+-acountry_LDADD = $(top_builddir)/libcares.la
++acountry_LDADD = libcares.la
+ acountry_CFLAGS = $(AM_CFLAGS)
+ acountry_CPPFLAGS = $(AM_CPPFLAGS)
+
Home |
Main Index |
Thread Index |
Old Index