Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/fortify-headers/
Date: Wed, 09 Jun 2021 23:56:17
Message-Id: 1623282950.c8d5590a411496c9ab1acb2a1f1b8e0456a9d548.sam@gentoo
1 commit: c8d5590a411496c9ab1acb2a1f1b8e0456a9d548
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 9 23:53:46 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 9 23:55:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8d5590a
7
8 sys-libs/fortify-headers: update EAPI 6 -> 7, backport ${ED} fix
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-libs/fortify-headers/fortify-headers-0.7.ebuild | 16 ++++++++--------
13 1 file changed, 8 insertions(+), 8 deletions(-)
14
15 diff --git a/sys-libs/fortify-headers/fortify-headers-0.7.ebuild b/sys-libs/fortify-headers/fortify-headers-0.7.ebuild
16 index e717acf59e4..12b1d42a974 100644
17 --- a/sys-libs/fortify-headers/fortify-headers-0.7.ebuild
18 +++ b/sys-libs/fortify-headers/fortify-headers-0.7.ebuild
19 @@ -1,7 +1,7 @@
20 # Copyright 1999-2021 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=6
24 +EAPI=7
25
26 if [[ ${PV} == *9999* ]] ; then
27 EGIT_REPO_URI="git://git.2f30.org/fortify-headers"
28 @@ -17,13 +17,13 @@ HOMEPAGE="http://git.2f30.org/fortify-headers/"
29
30 LICENSE="ISC"
31 SLOT="0"
32 -IUSE=""
33 -
34 -DEPEND=""
35 -RDEPEND="${DEPEND}"
36
37 src_prepare() {
38 - sed -i -e 's|^PREFIX = /usr/local|PREFIX = /usr|g' Makefile
39 - export DESTDIR="${D}"
40 - eapply_user
41 + sed -i -e 's|^PREFIX = /usr/local|PREFIX = /usr|g' Makefile || die
42 + default
43 +}
44 +
45 +src_install() {
46 + export DESTDIR="${ED}"
47 + default
48 }