commit:     7648a2badc36c4acdc7f51667ffa613d5fa832ce
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Thu Jan 23 15:35:33 2025 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Feb  1 09:20:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7648a2ba

app-text/lowdown: fix prefix installation

We can't switch to econf from configure, because this uses oconfigure[^1]
and oconfigure doesn't recognize `--prefix` as valid command line argument
only `PREFIX`

[^1]: https://github.com/kristapsdz/oconfigure

Co-authored-by: Christian Ludwig <chrissicool <AT> gmail.com>
Closes: https://bugs.gentoo.org/947349
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40274
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/lowdown/lowdown-1.3.2.ebuild | 6 +++---
 app-text/lowdown/lowdown-1.4.0.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/app-text/lowdown/lowdown-1.3.2.ebuild 
b/app-text/lowdown/lowdown-1.3.2.ebuild
index d26df7daa0ed..5439d2e6de7c 100644
--- a/app-text/lowdown/lowdown-1.3.2.ebuild
+++ b/app-text/lowdown/lowdown-1.3.2.ebuild
@@ -52,11 +52,11 @@ src_configure() {
        tc-export CC AR
 
        ./configure \
-               PREFIX="/usr" \
-               MANDIR="/usr/share/man" \
+               PREFIX="${EPREFIX}/usr" \
+               MANDIR="${EPREFIX}/usr/share/man" \
                LDFLAGS="${LDFLAGS}" \
                CPPFLAGS="${CPPFLAGS}" \
-               LIBDIR="/usr/$(get_libdir)" \
+               LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
                || die "./configure failed"
 }
 

diff --git a/app-text/lowdown/lowdown-1.4.0.ebuild 
b/app-text/lowdown/lowdown-1.4.0.ebuild
index d26df7daa0ed..5439d2e6de7c 100644
--- a/app-text/lowdown/lowdown-1.4.0.ebuild
+++ b/app-text/lowdown/lowdown-1.4.0.ebuild
@@ -52,11 +52,11 @@ src_configure() {
        tc-export CC AR
 
        ./configure \
-               PREFIX="/usr" \
-               MANDIR="/usr/share/man" \
+               PREFIX="${EPREFIX}/usr" \
+               MANDIR="${EPREFIX}/usr/share/man" \
                LDFLAGS="${LDFLAGS}" \
                CPPFLAGS="${CPPFLAGS}" \
-               LIBDIR="/usr/$(get_libdir)" \
+               LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
                || die "./configure failed"
 }
 

Reply via email to