summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-28 02:00:07 +0100
committerSam James <sam@gentoo.org>2021-10-28 02:00:42 +0100
commit2be43d8a49bd4d2da17a0a133faad29a5e64f339 (patch)
tree7b87137d453c5b8f5004f268305f5d25f75b4d9b /dev-libs/libtommath
parentdev-libs/simdjson: 1.0.2 version bump (diff)
downloadgentoo-2be43d8a49bd4d2da17a0a133faad29a5e64f339.tar.gz
gentoo-2be43d8a49bd4d2da17a0a133faad29a5e64f339.tar.bz2
gentoo-2be43d8a49bd4d2da17a0a133faad29a5e64f339.zip
dev-libs/libtommath: fix libdir too in pkgconfig file
Fixes: 6953f9bde6b2f327279fd6d21a0acda9465ea9b2 See: c90ab38e3577aae61fac2341b34ad593948de1cd Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libtommath')
-rw-r--r--dev-libs/libtommath/libtommath-1.2.0-r2.ebuild (renamed from dev-libs/libtommath/libtommath-1.2.0-r1.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-libs/libtommath/libtommath-1.2.0-r1.ebuild b/dev-libs/libtommath/libtommath-1.2.0-r2.ebuild
index 7b117347f4e7..02a55d1fc6fe 100644
--- a/dev-libs/libtommath/libtommath-1.2.0-r1.ebuild
+++ b/dev-libs/libtommath/libtommath-1.2.0-r2.ebuild
@@ -57,6 +57,9 @@ _emake() {
}
src_compile() {
+ # Replace hard-coded libdir=${exec_prefix}/lib.
+ sed -i -e "/libdir=/s:/lib:/$(get_libdir):" libtommath.pc.in || die
+
_emake -f makefile.shared
}