From: Anthony G. Basile Date: Thu, 25 Feb 2016 01:50:59 +0000 (-0500) Subject: net-dns/c-ares: disable test, bug #575470 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f9409795d6f1c3b475bbb5cd0c69c262cd3b26fb;p=gentoo.git net-dns/c-ares: disable test, bug #575470 Package-Manager: portage-2.2.26 --- 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(['.'])