commit:     359fe2acb0e4b49840062aaa539141cb3ecaadf2
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 18:28:50 2019 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 18:29:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=359fe2ac

net-dns/avahi: fix deprecated prune_libtool_files, bug #699752

Closes: https://bugs.gentoo.org/699752
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 net-dns/avahi/avahi-0.7-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dns/avahi/avahi-0.7-r3.ebuild 
b/net-dns/avahi/avahi-0.7-r3.ebuild
index 14dcdf4ec15..e3b92007433 100644
--- a/net-dns/avahi/avahi-0.7-r3.ebuild
+++ b/net-dns/avahi/avahi-0.7-r3.ebuild
@@ -195,7 +195,7 @@ multilib_src_install() {
        fi
 
        # The build system creates an empty "/run" directory, so we clean it up 
here
-       rmdir "${ED}"/run
+       rmdir "${ED}"/run || die
 }
 
 multilib_src_install_all() {
@@ -209,7 +209,7 @@ multilib_src_install_all() {
 
        dodoc docs/{AUTHORS,NEWS,README,TODO}
 
-       prune_libtool_files --all
+       find "${ED}" -name '*.la' -type f -delete || die
 }
 
 pkg_postinst() {

Reply via email to