summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-07-29 17:27:34 +0200
committerUlrich Müller <ulm@gentoo.org>2019-07-29 17:27:34 +0200
commit3b8646696a4d64a216caf5f4154fc874f29cccfb (patch)
treed87e0add7b41e2d9011b7099394ee395a3c3f8ed
parentebuild-env-vars.tex: Clarify trailing slash rule. (diff)
downloadpms-3b8646696a4d64a216caf5f4154fc874f29cccfb.tar.gz
pms-3b8646696a4d64a216caf5f4154fc874f29cccfb.tar.bz2
pms-3b8646696a4d64a216caf5f4154fc874f29cccfb.zip
pkg-mgr-commands.tex: Specify --with-sysroot in econf correctly.
If ESYSROOT is empty, then econf must pass --with-sysroot="/" as option to configure. This agrees with the implementation in portage and pkgcore. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--pkg-mgr-commands.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 95e3306..4d44baf 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -309,7 +309,7 @@ commands once the current phase function has returned.
\item \t{-{}-htmldir} must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, if the EAPI is
listed in table~\ref{tab:econf-options-table} as using it. This option will only be passed
if the string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}.
- \item \t{-{}-with-sysroot} must be \t{\$\{ESYSROOT\}}, if the EAPI is listed in
+ \item \t{-{}-with-sysroot} must be \t{\$\{ESYSROOT:-/\}}, if the EAPI is listed in
table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
string \t{-{}-with-sysroot} occurs in the output of \t{configure -{}-help}.
\item \t{-{}-build} must be the value of the \t{CBUILD} environment variable. This option will