summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2020-04-06 01:09:27 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-04-06 21:30:39 +0100
commitc68cd6b626be1b37323501bdf71a0838ef5a35db (patch)
treee50e10127a0d0989920077763498033e6e0277f4 /sys-devel/prelink
parentsys-devel/prelink: Update dependencies. (diff)
downloadgentoo-c68cd6b626be1b37323501bdf71a0838ef5a35db.tar.gz
gentoo-c68cd6b626be1b37323501bdf71a0838ef5a35db.tar.bz2
gentoo-c68cd6b626be1b37323501bdf71a0838ef5a35db.zip
sys-devel/prelink: Use EAPI="7".
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-devel/prelink')
-rw-r--r--sys-devel/prelink/prelink-20151030.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys-devel/prelink/prelink-20151030.ebuild b/sys-devel/prelink/prelink-20151030.ebuild
index 6c1b59681b7b..e119ab02ea93 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