1 |
If ESYSROOT is empty, then econf must pass --with-sysroot="/" |
2 |
as option to configure. |
3 |
|
4 |
This agrees with the implementation in portage and pkgcore. |
5 |
|
6 |
Signed-off-by: Ulrich Müller <ulm@g.o> |
7 |
--- |
8 |
pkg-mgr-commands.tex | 2 +- |
9 |
1 file changed, 1 insertion(+), 1 deletion(-) |
10 |
|
11 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
12 |
index 95e3306..4d44baf 100644 |
13 |
--- a/pkg-mgr-commands.tex |
14 |
+++ b/pkg-mgr-commands.tex |
15 |
@@ -309,7 +309,7 @@ commands once the current phase function has returned. |
16 |
\item \t{-{}-htmldir} must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, if the EAPI is |
17 |
listed in table~\ref{tab:econf-options-table} as using it. This option will only be passed |
18 |
if the string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}. |
19 |
- \item \t{-{}-with-sysroot} must be \t{\$\{ESYSROOT\}}, if the EAPI is listed in |
20 |
+ \item \t{-{}-with-sysroot} must be \t{\$\{ESYSROOT:-/\}}, if the EAPI is listed in |
21 |
table~\ref{tab:econf-options-table} as using it. This option will only be passed if the |
22 |
string \t{-{}-with-sysroot} occurs in the output of \t{configure -{}-help}. |
23 |
\item \t{-{}-build} must be the value of the \t{CBUILD} environment variable. This option will |
24 |
-- |
25 |
2.22.0 |