1 |
commit: cfaac76098fe1f301605b7b118ccebbe2814b967 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 5 16:54:36 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 5 16:54:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfaac760 |
7 |
|
8 |
sys-apps/sg3_utils: Revbump to fix broken lib symlinks |
9 |
|
10 |
Package-Manager: Portage-2.3.92, Repoman-2.3.20 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
.../sg3_utils/{sg3_utils-1.45.ebuild => sg3_utils-1.45-r1.ebuild} | 6 +++--- |
14 |
1 file changed, 3 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/sg3_utils/sg3_utils-1.45.ebuild b/sys-apps/sg3_utils/sg3_utils-1.45-r1.ebuild |
17 |
similarity index 94% |
18 |
rename from sys-apps/sg3_utils/sg3_utils-1.45.ebuild |
19 |
rename to sys-apps/sg3_utils/sg3_utils-1.45-r1.ebuild |
20 |
index e26f49ce241..8a91099271b 100644 |
21 |
--- a/sys-apps/sg3_utils/sg3_utils-1.45.ebuild |
22 |
+++ b/sys-apps/sg3_utils/sg3_utils-1.45-r1.ebuild |
23 |
@@ -31,13 +31,13 @@ src_install() { |
24 |
dodoc COVERAGE doc/README examples/*.txt |
25 |
newdoc scripts/README README.scripts |
26 |
|
27 |
+ find "${ED}" -type f -name "*.la" -delete || die |
28 |
+ |
29 |
# Better fix for bug 231089; some packages look for sgutils2 |
30 |
local path lib |
31 |
path="/usr/$(get_libdir)" |
32 |
- for lib in "${ED}/"${path}/libsgutils2.*; do |
33 |
+ for lib in "${ED}/"${path}/libsgutils2{,-${PV}}.*; do |
34 |
lib=${lib##*/} |
35 |
dosym "${lib}" "${path}/${lib/libsgutils2/libsgutils}" |
36 |
done |
37 |
- |
38 |
- find "${ED}" -type f -name "*.la" -delete || die |
39 |
} |