commit:     1c86f2842cb6b2030398bb2832d739f326a14d6d
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  2 12:25:21 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Oct  2 12:25:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c86f284

media-libs/munt-mt32emu: Fix pkg-config file install location

Closes: https://bugs.gentoo.org/814044
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 .../{munt-mt32emu-2.5.3.ebuild => munt-mt32emu-2.5.3-r1.ebuild}      | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-libs/munt-mt32emu/munt-mt32emu-2.5.3.ebuild 
b/media-libs/munt-mt32emu/munt-mt32emu-2.5.3-r1.ebuild
similarity index 80%
rename from media-libs/munt-mt32emu/munt-mt32emu-2.5.3.ebuild
rename to media-libs/munt-mt32emu/munt-mt32emu-2.5.3-r1.ebuild
index f1a27e25b8c..69e3f2578ea 100644
--- a/media-libs/munt-mt32emu/munt-mt32emu-2.5.3.ebuild
+++ b/media-libs/munt-mt32emu/munt-mt32emu-2.5.3-r1.ebuild
@@ -20,8 +20,11 @@ PATCHES=(
 )
 
 src_configure() {
+       local libdir=${EPREFIX}/usr/$(get_libdir)
+
        local mycmakeargs=(
-               -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
+               -DLIB_INSTALL_DIR="${libdir}"
+               -Dlibmt32emu_PKGCONFIG_INSTALL_PREFIX="${libdir}"
        )
 
        cmake_src_configure

Reply via email to