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