commit:     41dfeea42dc365c5434c74861421f4f3c50f48d7
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 17 22:18:59 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Sep 17 22:39:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41dfeea4

media-libs/libbpg: respect offset-prefix of image directory

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 media-libs/libbpg/libbpg-0.9.8-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild 
b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
index 5e4b64708b..b287d4de67 100644
--- a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
+++ b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
@@ -90,8 +90,9 @@ src_compile() {
 }
 
 src_install() {
-       mkdir -p "${D}"/usr/bin
-       emake prefix="${D}"/usr install
+       mkdir -p "${ED}"/usr/bin || die
+       # We never called configure with --prefix="${EPREFIX}"/usr or similar
+       emake prefix="${ED}"/usr install
 
        if use bpgview; then
                dobin bpgview

Reply via email to