commit: 140aac7de90b44e7a14b4f5aaf5952911ad074ea Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Aug 4 10:10:59 2021 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Aug 4 10:10:59 2021 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=140aac7d
pkg-mgr-commands.tex: Fix econf --libdir logic Portage uses both --exec-prefix and --prefix in its econf logic, introduced in 2005: https://gitweb.gentoo.org/archive/proj/portage-cvs.git/commit/?h=portage_2_0&id=865508e5cb2fd3e6ef7c312b6a7bb88cf8799f9c Pkgcore agrees with Portage. Paludis uses --prefix first, then --exec-prefix. Closes: https://bugs.gentoo.org/806374 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> pkg-mgr-commands.tex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 0a34db9..4431435 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -386,7 +386,9 @@ commands once the current phase function has returned. \caption{\t{econf -{}-libdir} logic} \label{alg:econf-libdir} \begin{algorithmic}[1] \STATE let prefix=\$\{EPREFIX\}/usr -\IF{the caller specified -{}-prefix=\$p} +\IF{the caller specified -{}-exec-prefix=\$ep} + \STATE let prefix=\$ep +\ELSIF{the caller specified -{}-prefix=\$p} \STATE let prefix=\$p \ENDIF \STATE let libdir=