summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-02-24 20:50:59 -0500
committerAnthony G. Basile <blueness@gentoo.org>2016-02-24 20:51:28 -0500
commitf9409795d6f1c3b475bbb5cd0c69c262cd3b26fb (patch)
tree18b769910533f261b47d695b1d45c09399b8b4a4 /net-dns
parentdev-python/jpype: Add jpype to the tree. (diff)
downloadgentoo-f9409795d6f1c3b475bbb5cd0c69c262cd3b26fb.tar.gz
gentoo-f9409795d6f1c3b475bbb5cd0c69c262cd3b26fb.tar.bz2
gentoo-f9409795d6f1c3b475bbb5cd0c69c262cd3b26fb.zip
net-dns/c-ares: disable test, bug #575470
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/c-ares/c-ares-1.11.0.ebuild7
-rw-r--r--net-dns/c-ares/files/remove-tests.patch14
2 files changed, 20 insertions, 1 deletions
diff --git a/net-dns/c-ares/c-ares-1.11.0.ebuild b/net-dns/c-ares/c-ares-1.11.0.ebuild
index 374cbc8bbe49..64f8bc859586 100644
--- a/net-dns/c-ares/c-ares-1.11.0.ebuild
+++ b/net-dns/c-ares/c-ares-1.11.0.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils multilib-minimal
+inherit autotools eutils multilib-minimal
DESCRIPTION="C library that resolves names asynchronously"
HOMEPAGE="http://c-ares.haxx.se/"
@@ -23,6 +23,11 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/ares_build.h
)
+src_prepare() {
+ epatch "${FILESDIR}"/remove-tests.patch
+ eautoreconf
+}
+
multilib_src_configure() {
ECONF_SOURCE=${S} \
econf \
diff --git a/net-dns/c-ares/files/remove-tests.patch b/net-dns/c-ares/files/remove-tests.patch
new file mode 100644
index 000000000000..6b4ce0aa2d7a
--- /dev/null
+++ b/net-dns/c-ares/files/remove-tests.patch
@@ -0,0 +1,14 @@
+diff -Naur c-ares-1.11.0.orig/configure.ac c-ares-1.11.0/configure.ac
+--- c-ares-1.11.0.orig/configure.ac 2016-02-19 09:09:13.000000000 +0000
++++ c-ares-1.11.0/configure.ac 2016-02-25 01:26:53.092956316 +0000
+@@ -877,10 +877,6 @@
+
+ XC_CHECK_BUILD_FLAGS
+
+-if test "x$cross_compiling" = "xno"; then
+- AC_CONFIG_SUBDIRS([test])
+-fi
+-
+ AC_CONFIG_FILES([Makefile libcares.pc])
+ AC_OUTPUT
+ XC_AMEND_DISTCLEAN(['.'])