commit: c68cd6b626be1b37323501bdf71a0838ef5a35db
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Mon Apr 6 01:09:27 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Apr 6 20:30:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c68cd6b6
sys-devel/prelink: Use EAPI="7".
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
sys-devel/prelink/prelink-20151030.ebuild | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/sys-devel/prelink/prelink-20151030.ebuild
b/sys-devel/prelink/prelink-20151030.ebuild
index 6c1b59681b7..e119ab02ea9 100644
--- a/sys-devel/prelink/prelink-20151030.ebuild
+++ b/sys-devel/prelink/prelink-20151030.ebuild
@@ -1,12 +1,12 @@
# Copyright 2002-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="7"
MY_PN="${PN}-cross"
MY_P="${MY_PN}-${PV}"
-inherit autotools eutils flag-o-matic
+inherit autotools flag-o-matic
DESCRIPTION="Modifies ELFs to avoid runtime symbol resolutions resulting in
faster load times"
HOMEPAGE="https://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/
https://people.redhat.com/jakub/prelink"
@@ -26,9 +26,13 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
+PATCHES=(
+ "${FILESDIR}"/${PN}-20130503-prelink-conf.patch
+ "${FILESDIR}"/${PN}-20130503-libiberty-md5.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${PN}-20130503-prelink-conf.patch
- epatch "${FILESDIR}"/${PN}-20130503-libiberty-md5.patch
+ default
sed -i -e '/^CC=/s: : -Wl,--disable-new-dtags :' testsuite/functions.sh
#100147