app-crypt/mhash: ebuild cleanups
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Fri, 21 Sep 2018 18:35:59 +0000 (21:35 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Fri, 21 Sep 2018 18:40:11 +0000 (21:40 +0300)
Closes: https://bugs.gentoo.org/666724
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

app-crypt/mhash/mhash-0.9.9.9-r2.ebuild

index 300d6c81abeab6c996c68b4db7a52042477e96d8..0c3993c9d67eb1d3e88475995e8f601d0e94e40e 100644 (file)
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit ltprune
 
 DESCRIPTION="library providing a uniform interface to a large number of hash algorithms"
 HOMEPAGE="http://mhash.sourceforge.net/"
@@ -39,7 +38,7 @@ src_prepare() {
        default
        sed -i \
                -e 's/--netscape//' \
-               "${S}"/doc/Makefile.in
+               "${S}"/doc/Makefile.in || die
 }
 
 src_configure() {
@@ -56,5 +55,5 @@ src_compile() {
 
 src_install() {
        default
-       prune_libtool_files
+       find "${D}" -name '*.la' -delete || die
 }