commit: 7d942c00c056d0e43fe7963a2bd270f7287e92e1 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Wed Jul 27 20:09:48 2022 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Wed Jul 27 20:09:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d942c00
dev-libs/libxdiff: update EAPI 6 -> 8 Signed-off-by: David Seifert <soap <AT> gentoo.org> dev-libs/libxdiff/files/libxdiff-0.23-tests.patch | 9 +++++++++ .../{libxdiff-0.23-r2.ebuild => libxdiff-0.23-r3.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 similarity index 64% rename from dev-libs/libxdiff/libxdiff-0.23-r2.ebuild rename to 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 }