From 7d942c00c056d0e43fe7963a2bd270f7287e92e1 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Wed, 27 Jul 2022 22:09:48 +0200 Subject: dev-libs/libxdiff: update EAPI 6 -> 8 Signed-off-by: David Seifert --- dev-libs/libxdiff/files/libxdiff-0.23-tests.patch | 9 +++++++ dev-libs/libxdiff/libxdiff-0.23-r2.ebuild | 31 ----------------------- dev-libs/libxdiff/libxdiff-0.23-r3.ebuild | 26 +++++++++++++++++++ 3 files changed, 35 insertions(+), 31 deletions(-) create mode 100644 dev-libs/libxdiff/files/libxdiff-0.23-tests.patch delete mode 100644 dev-libs/libxdiff/libxdiff-0.23-r2.ebuild create mode 100644 dev-libs/libxdiff/libxdiff-0.23-r3.ebuild (limited to 'dev-libs/libxdiff') 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-r2.ebuild deleted file mode 100644 index 608ade4db081..000000000000 --- a/dev-libs/libxdiff/libxdiff-0.23-r2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -DESCRIPTION="Library for creating diff files" -HOMEPAGE="http://www.xmailserver.org/xdiff-lib.html" -SRC_URI="http://www.xmailserver.org/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -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 -} diff --git a/dev-libs/libxdiff/libxdiff-0.23-r3.ebuild b/dev-libs/libxdiff/libxdiff-0.23-r3.ebuild new file mode 100644 index 000000000000..18a0d8bbac4e --- /dev/null +++ b/dev-libs/libxdiff/libxdiff-0.23-r3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library for creating diff files" +HOMEPAGE="http://www.xmailserver.org/xdiff-lib.html" +SRC_URI="http://www.xmailserver.org/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" + +PATCHES=( "${FILESDIR}/${P}-tests.patch" ) + +src_prepare() { + default + eautoreconf +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} -- cgit v1.2.3-65-gdbad