1 |
commit: 8e52b04d8749afb4f06be7f8fe8e62632e21cb50 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 16 20:39:32 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 18 19:17:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=8e52b04d |
7 |
|
8 |
ebuild-writing/functions/src_prepare: modernize src_prepare() |
9 |
|
10 |
ebuild-writing/functions/src_prepare/text.xml | 6 ++++-- |
11 |
1 file changed, 4 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/ebuild-writing/functions/src_prepare/text.xml b/ebuild-writing/functions/src_prepare/text.xml |
14 |
index 2a30581..2a8cb84 100644 |
15 |
--- a/ebuild-writing/functions/src_prepare/text.xml |
16 |
+++ b/ebuild-writing/functions/src_prepare/text.xml |
17 |
@@ -48,8 +48,10 @@ src_prepare() { |
18 |
<body> |
19 |
<codesample lang="ebuild"> |
20 |
src_prepare() { |
21 |
- epatch "${FILESDIR}/${PV}/${P}-fix-bogosity.patch" |
22 |
- use pam && epatch "${FILESDIR}/${PV}/${P}-pam.patch" |
23 |
+ eapply "${FILESDIR}/${PV}/${P}-fix-bogosity.patch" |
24 |
+ eapply "${FILESDIR}/${PV}/${P}-pam.patch" |
25 |
+ |
26 |
+ eapply_user |
27 |
|
28 |
sed -i -e 's/"ispell"/"aspell"/' src/defaults.h || die "Sed failed!" |
29 |
} |