1 |
commit: fb58e8da0267a7e72ffdcf20b2ba48c92ea1b2d6 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 13 06:51:25 2019 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 13 06:53:14 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb58e8da |
7 |
|
8 |
sys-boot/aboot: Port to EAPI=7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/697182 |
11 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
12 |
|
13 |
sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild | 22 ++++++++++++---------- |
14 |
1 file changed, 12 insertions(+), 10 deletions(-) |
15 |
|
16 |
diff --git a/sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild b/sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild |
17 |
index d6c38443b2c..cba6251a37a 100644 |
18 |
--- a/sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild |
19 |
+++ b/sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild |
20 |
@@ -1,7 +1,7 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=0 |
26 |
+EAPI=7 |
27 |
|
28 |
inherit eutils toolchain-funcs |
29 |
|
30 |
@@ -30,18 +30,20 @@ src_unpack() { |
31 |
cd "${S}"/include |
32 |
ln -s asm-alpha asm || die |
33 |
touch linux/config.h || die |
34 |
- cd "${S}" |
35 |
- epatch "${FILESDIR}/aboot-gcc-3.4.patch" |
36 |
- epatch "${FILESDIR}/aboot-pt_note.patch" |
37 |
+} |
38 |
+ |
39 |
+src_prepare() { |
40 |
+ eapply "${FILESDIR}/aboot-gcc-3.4.patch" |
41 |
+ eapply "${FILESDIR}/aboot-pt_note.patch" |
42 |
# Bug 364697 |
43 |
- epatch "${FILESDIR}/aboot-define_stat_only_in_userspace.patch" |
44 |
- epatch "${FILESDIR}"/aboot-respect-AR.patch |
45 |
- epatch "${FILESDIR}"/aboot-gnu90.patch |
46 |
+ eapply "${FILESDIR}/aboot-define_stat_only_in_userspace.patch" |
47 |
+ eapply "${FILESDIR}"/aboot-respect-AR.patch |
48 |
+ eapply "${FILESDIR}"/aboot-gnu90.patch |
49 |
|
50 |
# Modified patch from Debian to add netboot support |
51 |
- epatch "${WORKDIR}"/aboot_gentoo.diff |
52 |
+ eapply "${WORKDIR}"/aboot_gentoo.diff |
53 |
|
54 |
- epatch_user |
55 |
+ eapply_user |
56 |
} |
57 |
|
58 |
src_compile() { |