diff options
author | Sam James <sam@gentoo.org> | 2020-09-16 22:02:06 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-09-16 22:02:16 +0000 |
commit | e56541512b0bf5d25fd0b4b5ca47bac3424bb988 (patch) | |
tree | 74f14372ebaf31f19a09a1a5a6b92345edc15ad8 /mail-filter | |
parent | media-tv/kodi: Cleanup old version (diff) | |
download | gentoo-e56541512b0bf5d25fd0b4b5ca47bac3424bb988.tar.gz gentoo-e56541512b0bf5d25fd0b4b5ca47bac3424bb988.tar.bz2 gentoo-e56541512b0bf5d25fd0b4b5ca47bac3424bb988.zip |
mail-filter/libsrs2: port to EAPI 7
Closes: https://bugs.gentoo.org/534328
Closes: https://bugs.gentoo.org/741032
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/libsrs2/files/libsrs2-1.0.18-parallel-make.diff | 5 | ||||
-rw-r--r-- | mail-filter/libsrs2/libsrs2-1.0.18-r1.ebuild (renamed from mail-filter/libsrs2/libsrs2-1.0.18.ebuild) | 17 |
2 files changed, 14 insertions, 8 deletions
diff --git a/mail-filter/libsrs2/files/libsrs2-1.0.18-parallel-make.diff b/mail-filter/libsrs2/files/libsrs2-1.0.18-parallel-make.diff index a5ce4d5a0028..9447bb2c4954 100644 --- a/mail-filter/libsrs2/files/libsrs2-1.0.18-parallel-make.diff +++ b/mail-filter/libsrs2/files/libsrs2-1.0.18-parallel-make.diff @@ -1,6 +1,5 @@ -diff -Naur libsrs2-1.0.18/libsrs2/Makefile.am libsrs2-1.0.18-1/libsrs2/Makefile.am ---- libsrs2-1.0.18/libsrs2/Makefile.am 2004-06-10 11:33:28.000000000 +0200 -+++ libsrs2-1.0.18-1/libsrs2/Makefile.am 2009-09-29 16:08:29.000000000 +0200 +--- a/libsrs2/Makefile.am 2004-06-10 11:33:28.000000000 +0200 ++++ b/libsrs2/Makefile.am 2009-09-29 16:08:29.000000000 +0200 @@ -3,9 +3,6 @@ include_HEADERS = srs2.h noinst_HEADERS = win32.h diff --git a/mail-filter/libsrs2/libsrs2-1.0.18.ebuild b/mail-filter/libsrs2/libsrs2-1.0.18-r1.ebuild index e31cfb85a72c..0ef4838f7bbd 100644 --- a/mail-filter/libsrs2/libsrs2-1.0.18.ebuild +++ b/mail-filter/libsrs2/libsrs2-1.0.18-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit eutils autotools +inherit autotools DESCRIPTION="libsrs2 is the next generation Sender Rewriting Scheme library" HOMEPAGE="https://www.libsrs2.org/" @@ -14,11 +14,18 @@ SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="static-libs" -DEPEND="!dev-perl/Mail-SRS" +DEPEND=" + !dev-perl/Mail-SRS + !mail-filter/libsrs_alt +" RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}/${P}-parallel-make.diff" +) + src_prepare() { - epatch "${FILESDIR}/${P}-parallel-make.diff" + default eautoreconf } @@ -29,5 +36,5 @@ src_configure() { src_install() { default - use static-libs || find "${D}" -name '*.la' -delete + use static-libs || find "${ED}" -name '*.la' -delete } |