From: Lars Wendler Date: Thu, 5 Mar 2020 16:54:36 +0000 (+0100) Subject: sys-apps/sg3_utils: Revbump to fix broken lib symlinks X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cfaac76098fe1f301605b7b118ccebbe2814b967;p=gentoo.git sys-apps/sg3_utils: Revbump to fix broken lib symlinks Package-Manager: Portage-2.3.92, Repoman-2.3.20 Signed-off-by: Lars Wendler --- diff --git a/sys-apps/sg3_utils/sg3_utils-1.45.ebuild b/sys-apps/sg3_utils/sg3_utils-1.45-r1.ebuild similarity index 94% rename from sys-apps/sg3_utils/sg3_utils-1.45.ebuild rename to sys-apps/sg3_utils/sg3_utils-1.45-r1.ebuild index e26f49ce2411..8a91099271b5 100644 --- a/sys-apps/sg3_utils/sg3_utils-1.45.ebuild +++ b/sys-apps/sg3_utils/sg3_utils-1.45-r1.ebuild @@ -31,13 +31,13 @@ src_install() { dodoc COVERAGE doc/README examples/*.txt newdoc scripts/README README.scripts + find "${ED}" -type f -name "*.la" -delete || die + # Better fix for bug 231089; some packages look for sgutils2 local path lib path="/usr/$(get_libdir)" - for lib in "${ED}/"${path}/libsgutils2.*; do + for lib in "${ED}/"${path}/libsgutils2{,-${PV}}.*; do lib=${lib##*/} dosym "${lib}" "${path}/${lib/libsgutils2/libsgutils}" done - - find "${ED}" -type f -name "*.la" -delete || die }