commit:     3b8646696a4d64a216caf5f4154fc874f29cccfb
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 29 15:27:34 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 15:27:34 2019 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=3b864669

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 <AT> gentoo.org>

 pkg-mgr-commands.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Reply via email to