From 06021461187e64c3e51d48b0a9edde50d1f591c6 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Tue, 9 Apr 2024 10:12:05 +0200 Subject: sci-mathematics/boolector: fix install on musl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/928977 Signed-off-by: Maciej Barć --- sci-mathematics/boolector/boolector-3.2.3.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'sci-mathematics') diff --git a/sci-mathematics/boolector/boolector-3.2.3.ebuild b/sci-mathematics/boolector/boolector-3.2.3.ebuild index 1497adc7c225..6b8f8f0d0d56 100644 --- a/sci-mathematics/boolector/boolector-3.2.3.ebuild +++ b/sci-mathematics/boolector/boolector-3.2.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -75,10 +75,12 @@ src_configure() { src_install() { cmake_src_install - dodir "/usr/$(get_libdir)" - mv "${ED}/usr/lib"/*.so "${ED}/usr/$(get_libdir)/" || die - if use examples ; then dodoc -r examples fi + + if [[ "$(get_libdir)" != lib ]] ; then + dodir "/usr/$(get_libdir)" + mv "${ED}/usr/lib"/*.so "${ED}/usr/$(get_libdir)/" || die + fi } -- cgit v1.2.3-65-gdbad