summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@gentoo.org>2024-10-12 13:04:00 +0200
committerArsen Arsenović <arsen@gentoo.org>2024-10-12 13:05:37 +0200
commit7d67a4bad8f1c8f54ec60edfba092851743b4e2c (patch)
treeb1d086ceca1ef24a44065ada09e7d99b53dacf62 /dev-scheme
parentwww-client/chromium: add 131.0.6753.0 (diff)
downloadgentoo-7d67a4bad8f1c8f54ec60edfba092851743b4e2c.tar.gz
gentoo-7d67a4bad8f1c8f54ec60edfba092851743b4e2c.tar.bz2
gentoo-7d67a4bad8f1c8f54ec60edfba092851743b4e2c.zip
dev-scheme/guile: fix PKG_CONFIG_PATH in 2.2
Closes: https://bugs.gentoo.org/941294 Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/guile/guile-2.2.7-r102.ebuild (renamed from dev-scheme/guile/guile-2.2.7-r101.ebuild)10
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-scheme/guile/guile-2.2.7-r101.ebuild b/dev-scheme/guile/guile-2.2.7-r102.ebuild
index 5943491ede3e..1d15e85cfa4c 100644
--- a/dev-scheme/guile/guile-2.2.7-r101.ebuild
+++ b/dev-scheme/guile/guile-2.2.7-r102.ebuild
@@ -98,19 +98,23 @@ src_install() {
# Move the pkg-config files to guile-data. In future versions, this
# should be handled by --with-pkgconfigdir (patch waiting on
# upstream).
- local pcdir=/usr/share/guile-data/"${SLOT}"
- mkdir -p "${ED}${pcdir}" || die
+ local datadir=/usr/share/guile-data/"${SLOT}"
+ local pcdir="${datadir}"/pkgconfig
+ mkdir -p "${ED}${datadir}" || die
mv "${ED}"/usr/share/aclocal/guile{,-"${SLOT}"}.m4 || die
mv "${ED}"/usr/$(get_libdir)/pkgconfig/ \
"${ED}/${pcdir}" || die
+ [[ -f "${pcdir}"/guile-2.2.pc ]]
+ assert "failed to install .pc file?"
+
guile_slot_info
local major="$(ver_cut 1 "${SLOT}")"
local minor="$(ver_cut 2 "${SLOT}")"
local idx="$((99999-(major*1000+minor)))"
newenvd - "50guile${idx}" <<-EOF
- PKG_CONFIG_PATH="${datadir}/pkgconfig"
+ PKG_CONFIG_PATH="${pcdir}"
INFOPATH="${GUILE_INFODIR}"
EOF
}