net-dns/idnkit: Fix parallel make issue in check target.
authorJeroen Roovers <jer@gentoo.org>
Thu, 1 Mar 2018 19:07:31 +0000 (20:07 +0100)
committerJeroen Roovers <jer@gentoo.org>
Thu, 1 Mar 2018 19:08:19 +0000 (20:08 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-dns/idnkit/files/idnkit-1.0-test-subdirs.patch [new file with mode: 0644]
net-dns/idnkit/idnkit-1.0-r2.ebuild

diff --git a/net-dns/idnkit/files/idnkit-1.0-test-subdirs.patch b/net-dns/idnkit/files/idnkit-1.0-test-subdirs.patch
new file mode 100644 (file)
index 0000000..3e6dcf1
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/lib/Makefile.in
++++ b/lib/Makefile.in
+@@ -296,6 +296,7 @@
+       rm -f Makefile
+ test check: test-localdir test-subdirs
++test-subdirs: test-localdir
+ @LITEONLY_TRUE@test-localdir: $(TESTLITELIB).la $(SAMPLES)
+ @LITEONLY_FALSE@test-localdir: $(TESTLIB).la $(TESTLITELIB).la $(SAMPLES)
index 5c0878d1b4613ac80c45217a4a0b47654ce42da3..d49a09a1fa6f278b2e1e8ded33f07b19e266f5f8 100644 (file)
@@ -21,7 +21,8 @@ S=${WORKDIR}/${P}-src
 src_prepare() {
        # Bug 263135, old broken libtool bundled
        rm -f aclocal.m4 || die "rm failed"
-       epatch "${FILESDIR}/${P}-autotools.patch"
+       epatch "${FILESDIR}"/${P}-autotools.patch
+       epatch "${FILESDIR}"/${P}-test-subdirs.patch
        mv configure.{in,ac} || die
        eautoreconf
 }