Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/munt-mt32emu/
Date: Sat, 02 Oct 2021 12:26:32
Message-Id: 1633177521.1c86f2842cb6b2030398bb2832d739f326a14d6d.chewi@gentoo
1 commit: 1c86f2842cb6b2030398bb2832d739f326a14d6d
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 2 12:25:21 2021 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 2 12:25:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c86f284
7
8 media-libs/munt-mt32emu: Fix pkg-config file install location
9
10 Closes: https://bugs.gentoo.org/814044
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 .../{munt-mt32emu-2.5.3.ebuild => munt-mt32emu-2.5.3-r1.ebuild} | 5 ++++-
14 1 file changed, 4 insertions(+), 1 deletion(-)
15
16 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
17 similarity index 80%
18 rename from media-libs/munt-mt32emu/munt-mt32emu-2.5.3.ebuild
19 rename to media-libs/munt-mt32emu/munt-mt32emu-2.5.3-r1.ebuild
20 index f1a27e25b8c..69e3f2578ea 100644
21 --- a/media-libs/munt-mt32emu/munt-mt32emu-2.5.3.ebuild
22 +++ b/media-libs/munt-mt32emu/munt-mt32emu-2.5.3-r1.ebuild
23 @@ -20,8 +20,11 @@ PATCHES=(
24 )
25
26 src_configure() {
27 + local libdir=${EPREFIX}/usr/$(get_libdir)
28 +
29 local mycmakeargs=(
30 - -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
31 + -DLIB_INSTALL_DIR="${libdir}"
32 + -Dlibmt32emu_PKGCONFIG_INSTALL_PREFIX="${libdir}"
33 )
34
35 cmake_src_configure