diff options
Diffstat (limited to 'sci-libs/hdf/hdf-4.2.13-r1.ebuild')
-rw-r--r-- | sci-libs/hdf/hdf-4.2.13-r1.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sci-libs/hdf/hdf-4.2.13-r1.ebuild b/sci-libs/hdf/hdf-4.2.13-r1.ebuild index 7937f8032bdf..cf5dc153dc11 100644 --- a/sci-libs/hdf/hdf-4.2.13-r1.ebuild +++ b/sci-libs/hdf/hdf-4.2.13-r1.ebuild @@ -5,7 +5,7 @@ EAPI=6 FORTRAN_NEEDED=fortran -inherit fortran-2 toolchain-funcs autotools flag-o-matic ltprune +inherit fortran-2 toolchain-funcs autotools flag-o-matic MYP=${P/_p/-patch} @@ -61,8 +61,13 @@ src_configure() { src_install() { default - use static-libs || prune_libtool_files --all + + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi + dodoc release_notes/{RELEASE,HISTORY,bugs_fixed,misc_docs}.txt + cd "${ED}"usr if use examples; then mv share/hdf4_examples share/doc/${PF}/examples || die @@ -70,6 +75,7 @@ src_install() { else rm -r share/hdf4_examples || die fi + mv bin/ncgen{,-hdf} || die mv bin/ncdump{,-hdf} || die mv share/man/man1/ncgen{,-hdf}.1 || die |