1 |
commit: dd6f9b1f9a47804d36c8dce5aab67022f19e57ee |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 31 09:19:21 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 31 09:19:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd6f9b1f |
7 |
|
8 |
sci-libs/hdf: drop deprecated ltprune eclass |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
sci-libs/hdf/hdf-4.2.13-r1.ebuild | 10 ++++++++-- |
14 |
1 file changed, 8 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/hdf/hdf-4.2.13-r1.ebuild b/sci-libs/hdf/hdf-4.2.13-r1.ebuild |
17 |
index 7937f8032bd..cf5dc153dc1 100644 |
18 |
--- a/sci-libs/hdf/hdf-4.2.13-r1.ebuild |
19 |
+++ b/sci-libs/hdf/hdf-4.2.13-r1.ebuild |
20 |
@@ -5,7 +5,7 @@ EAPI=6 |
21 |
|
22 |
FORTRAN_NEEDED=fortran |
23 |
|
24 |
-inherit fortran-2 toolchain-funcs autotools flag-o-matic ltprune |
25 |
+inherit fortran-2 toolchain-funcs autotools flag-o-matic |
26 |
|
27 |
MYP=${P/_p/-patch} |
28 |
|
29 |
@@ -61,8 +61,13 @@ src_configure() { |
30 |
|
31 |
src_install() { |
32 |
default |
33 |
- use static-libs || prune_libtool_files --all |
34 |
+ |
35 |
+ if ! use static-libs; then |
36 |
+ find "${ED}" -name '*.la' -delete || die |
37 |
+ fi |
38 |
+ |
39 |
dodoc release_notes/{RELEASE,HISTORY,bugs_fixed,misc_docs}.txt |
40 |
+ |
41 |
cd "${ED}"usr |
42 |
if use examples; then |
43 |
mv share/hdf4_examples share/doc/${PF}/examples || die |
44 |
@@ -70,6 +75,7 @@ src_install() { |
45 |
else |
46 |
rm -r share/hdf4_examples || die |
47 |
fi |
48 |
+ |
49 |
mv bin/ncgen{,-hdf} || die |
50 |
mv bin/ncdump{,-hdf} || die |
51 |
mv share/man/man1/ncgen{,-hdf}.1 || die |