summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-02-19 15:00:09 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-02-19 16:30:32 +0100
commit04ba0021b96b29be45073fb44db54f02542c836f (patch)
tree0286d09e4efadd594fee524caefff72d9fa5ca9d /sci-mathematics
parentdev-ruby/elastic-transport: add slot for net_http_persistent (diff)
downloadgentoo-04ba0021b96b29be45073fb44db54f02542c836f.tar.gz
gentoo-04ba0021b96b29be45073fb44db54f02542c836f.tar.bz2
gentoo-04ba0021b96b29be45073fb44db54f02542c836f.zip
sci-mathematics/opensmt: fix libdir on glibc only
Closes: https://bugs.gentoo.org/924977 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/opensmt/opensmt-2.5.2.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/sci-mathematics/opensmt/opensmt-2.5.2.ebuild b/sci-mathematics/opensmt/opensmt-2.5.2.ebuild
index ce988bcd0572..b691b9744363 100644
--- a/sci-mathematics/opensmt/opensmt-2.5.2.ebuild
+++ b/sci-mathematics/opensmt/opensmt-2.5.2.ebuild
@@ -67,8 +67,10 @@ src_configure() {
src_install() {
cmake_src_install
- rm "${ED}"/usr/lib/libopensmt.a || die
+ if use elibc_glibc ; then
+ dolib.so "${ED}"/usr/lib/libopensmt.so*
+ rm "${ED}"/usr/lib/libopensmt.so* || die
+ fi
- dolib.so "${ED}"/usr/lib/libopensmt.*
- rm "${ED}"/usr/lib/libopensmt.* || die
+ rm "${ED}"/usr/lib/libopensmt.a || die
}