summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-03-18 18:22:37 +0100
committerUlrich Müller <ulm@gentoo.org>2012-03-18 19:42:32 +0100
commitd8ced362c3b2fb1024ccc8251ec430948f3e1ccf (patch)
treecfcc66f457f9d64908f8d542e0ef678dc08d4403
parentSpecify characters allowed for an EAPI value. (diff)
downloadpms-d8ced362c3b2fb1024ccc8251ec430948f3e1ccf.tar.gz
pms-d8ced362c3b2fb1024ccc8251ec430948f3e1ccf.tar.bz2
pms-d8ced362c3b2fb1024ccc8251ec430948f3e1ccf.zip
Fix listing for einstall, bug 340347.
-rw-r--r--pkg-mgr-commands.tex8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index f278e19..37c1b13 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -205,14 +205,20 @@ has returned.
available in EAPIs that support offset-prefix installations as listed in
Table~\ref{tab:offset-env-vars-table}, hence EAPIs lacking offset-prefix support should use \t{D}
instead of \t{ED} in the command given in Listing~\ref{lst:einstall}.
+ Variable \t{libdir} is an auxiliary local variable whose value is determined by
+ Algorithm~\ref{alg:ebuild-libdir}.
\begin{listing}[H]
\caption{einstall command}\label{lst:einstall}
\begin{verbatim}
emake \
prefix="${ED}"/usr \
+ datadir="${ED}"/usr/share \
mandir="${ED}"/usr/share/man \
infodir="${ED}"/usr/share/info \
- libdir="${ED}"/usr/$(get_libdir) \
+ libdir="${ED}"/usr/${libdir} \
+ localstatedir="${ED}"/var/lib \
+ sysconfdir="${ED}"/etc \
+ -j1 \
"$@" \
install
\end{verbatim}