summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-07-27 22:09:48 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-27 22:09:48 +0200
commit7d942c00c056d0e43fe7963a2bd270f7287e92e1 (patch)
treec1fcf98d9e00b43dac81dcbcff044810fea21694 /dev-libs/libxdiff
parentdev-libs/libx86: update EAPI 6 -> 8 (diff)
downloadgentoo-7d942c00c056d0e43fe7963a2bd270f7287e92e1.tar.gz
gentoo-7d942c00c056d0e43fe7963a2bd270f7287e92e1.tar.bz2
gentoo-7d942c00c056d0e43fe7963a2bd270f7287e92e1.zip
dev-libs/libxdiff: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/libxdiff')
-rw-r--r--dev-libs/libxdiff/files/libxdiff-0.23-tests.patch9
-rw-r--r--dev-libs/libxdiff/libxdiff-0.23-r3.ebuild (renamed from dev-libs/libxdiff/libxdiff-0.23-r2.ebuild)15
2 files changed, 14 insertions, 10 deletions
diff --git a/dev-libs/libxdiff/files/libxdiff-0.23-tests.patch b/dev-libs/libxdiff/files/libxdiff-0.23-tests.patch
new file mode 100644
index 000000000000..72d2e167427a
--- /dev/null
+++ b/dev-libs/libxdiff/files/libxdiff-0.23-tests.patch
@@ -0,0 +1,9 @@
+Tests are hopelessly broken
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,3 +1,3 @@
+
+-SUBDIRS = . xdiff test tools man
++SUBDIRS = . xdiff tools man
+
diff --git a/dev-libs/libxdiff/libxdiff-0.23-r2.ebuild b/dev-libs/libxdiff/libxdiff-0.23-r3.ebuild
index 608ade4db081..18a0d8bbac4e 100644
--- a/dev-libs/libxdiff/libxdiff-0.23-r2.ebuild
+++ b/dev-libs/libxdiff/libxdiff-0.23-r3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit autotools
@@ -12,20 +12,15 @@ SRC_URI="http://www.xmailserver.org/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE=""
+
+PATCHES=( "${FILESDIR}/${P}-tests.patch" )
src_prepare() {
default
- # test utils require static libs ...
- sed 's/test//g' -i Makefile.am
eautoreconf
}
-src_configure() {
- econf --disable-static
-}
-
src_install() {
default
- rm "${D}/usr/$(get_libdir)"/*.la
+ find "${ED}" -name '*.la' -delete || die
}