commit: 4e7a2e7b243be4ef2033097d1351e42c9be97fa1
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 12 19:22:58 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Dec 22 14:51:30 2021 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=4e7a2e7b
archs/amd64: econf passes --libdir by default
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
archs/amd64/text.xml | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/archs/amd64/text.xml b/archs/amd64/text.xml
index cbfe8df..db9e9c5 100644
--- a/archs/amd64/text.xml
+++ b/archs/amd64/text.xml
@@ -232,22 +232,10 @@ this behaviour is controlled by the
<c>MULTILIB_STRICT_EXEMPT</c> variable in
<body>
<p>
-In most cases, it's sufficient to use the <c>$(get_libdir)</c> function:
+In most cases, default <c>econf</c> behaviour is sufficient, because it will
+pass the correct <c>--libdir</c> option to <c>configure</c>.
</p>
-<codesample lang="ebuild">
-src_compile() {
- econf \
- --libdir=/usr/$(get_libdir)
-
- emake || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-}
-</codesample>
-
<p>
Some packages provide really bad Makefiles which hard-code <c>/usr/lib</c>.
Those
should be <c>sed</c> -ed or patched. Don't forget to let upstream know about
your