1 |
commit: f9409795d6f1c3b475bbb5cd0c69c262cd3b26fb |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 25 01:50:59 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 25 01:51:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9409795 |
7 |
|
8 |
net-dns/c-ares: disable test, bug #575470 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-dns/c-ares/c-ares-1.11.0.ebuild | 7 ++++++- |
13 |
net-dns/c-ares/files/remove-tests.patch | 14 ++++++++++++++ |
14 |
2 files changed, 20 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/net-dns/c-ares/c-ares-1.11.0.ebuild b/net-dns/c-ares/c-ares-1.11.0.ebuild |
17 |
index 374cbc8..64f8bc8 100644 |
18 |
--- a/net-dns/c-ares/c-ares-1.11.0.ebuild |
19 |
+++ b/net-dns/c-ares/c-ares-1.11.0.ebuild |
20 |
@@ -4,7 +4,7 @@ |
21 |
|
22 |
EAPI=5 |
23 |
|
24 |
-inherit eutils multilib-minimal |
25 |
+inherit autotools eutils multilib-minimal |
26 |
|
27 |
DESCRIPTION="C library that resolves names asynchronously" |
28 |
HOMEPAGE="http://c-ares.haxx.se/" |
29 |
@@ -23,6 +23,11 @@ MULTILIB_WRAPPED_HEADERS=( |
30 |
/usr/include/ares_build.h |
31 |
) |
32 |
|
33 |
+src_prepare() { |
34 |
+ epatch "${FILESDIR}"/remove-tests.patch |
35 |
+ eautoreconf |
36 |
+} |
37 |
+ |
38 |
multilib_src_configure() { |
39 |
ECONF_SOURCE=${S} \ |
40 |
econf \ |
41 |
|
42 |
diff --git a/net-dns/c-ares/files/remove-tests.patch b/net-dns/c-ares/files/remove-tests.patch |
43 |
new file mode 100644 |
44 |
index 0000000..6b4ce0a |
45 |
--- /dev/null |
46 |
+++ b/net-dns/c-ares/files/remove-tests.patch |
47 |
@@ -0,0 +1,14 @@ |
48 |
+diff -Naur c-ares-1.11.0.orig/configure.ac c-ares-1.11.0/configure.ac |
49 |
+--- c-ares-1.11.0.orig/configure.ac 2016-02-19 09:09:13.000000000 +0000 |
50 |
++++ c-ares-1.11.0/configure.ac 2016-02-25 01:26:53.092956316 +0000 |
51 |
+@@ -877,10 +877,6 @@ |
52 |
+ |
53 |
+ XC_CHECK_BUILD_FLAGS |
54 |
+ |
55 |
+-if test "x$cross_compiling" = "xno"; then |
56 |
+- AC_CONFIG_SUBDIRS([test]) |
57 |
+-fi |
58 |
+- |
59 |
+ AC_CONFIG_FILES([Makefile libcares.pc]) |
60 |
+ AC_OUTPUT |
61 |
+ XC_AMEND_DISTCLEAN(['.']) |