commit:     19992e6dab35ec461345365eb24b9eb5fb56ab48
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 26 13:21:29 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 13:21:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19992e6d

sys-auth/pam_mysql: fix build with slibtool

Closes: https://bugs.gentoo.org/778317
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-auth/pam_mysql/pam_mysql-0.8.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/pam_mysql/pam_mysql-0.8.1-r1.ebuild 
b/sys-auth/pam_mysql/pam_mysql-0.8.1-r1.ebuild
index a804c80bb49..8467e5ea0d7 100644
--- a/sys-auth/pam_mysql/pam_mysql-0.8.1-r1.ebuild
+++ b/sys-auth/pam_mysql/pam_mysql-0.8.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -41,5 +41,5 @@ src_configure() {
 src_install() {
        default
 
-       rm "${ED%/}$(getpam_mod_dir)/pam_mysql.la" || die
+       find "${ED}" -name '*.la' -delete || die
 }

Reply via email to