commit: d720e2511754b4dd51826b27a1c081391afde8e3
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 5 05:53:20 2015 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Nov 5 06:04:05 2015 +0000
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=d720e251
fixup! EAPI 6 has a default src_prepare.
ebuild-functions.tex | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ebuild-functions.tex b/ebuild-functions.tex
index bf16f9e..10560b2 100644
--- a/ebuild-functions.tex
+++ b/ebuild-functions.tex
@@ -131,6 +131,8 @@ section~\ref{sec:s-to-workdir-fallback}.
6, the default implementation used when the ebuild lacks the \t{src\_prepare}
function shall behave
as:
+\begin{listing}[H]
+\caption{src\_prepare, format~6} \label{lst:src-prepare-6}
\begin{verbatim}
src_prepare() {
if declare -p PATCHES | grep -q "^declare -a "; then
@@ -141,6 +143,7 @@ src_prepare() {
eapply_user
}
\end{verbatim}
+\end{listing}
For other EAPIs supporting \t{src\_prepare}, the default implementation used
when the ebuild lacks
the \t{src\_prepare} function is a no-op.