summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-01-16 16:18:35 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-01-16 16:19:09 +0100
commit4b7269ee16b771f739a112aa48691ab13e3f7990 (patch)
treedd4f397b24996aee1541ac86edd0488974bac33c /media-libs
parentdev-python/ovsdbapp: 0.12.2 bump (diff)
downloadgentoo-4b7269ee16b771f739a112aa48691ab13e3f7990.tar.gz
gentoo-4b7269ee16b771f739a112aa48691ab13e3f7990.tar.bz2
gentoo-4b7269ee16b771f739a112aa48691ab13e3f7990.zip
media-libs/libsdl2: Replaced ltprune with "find ... -delete" calls.
Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libsdl2/libsdl2-2.0.9.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/media-libs/libsdl2/libsdl2-2.0.9.ebuild b/media-libs/libsdl2/libsdl2-2.0.9.ebuild
index ea1c8aa9ed01..ebecd611b4c6 100644
--- a/media-libs/libsdl2/libsdl2-2.0.9.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.9.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit autotools flag-o-matic ltprune toolchain-funcs multilib-minimal
+inherit autotools flag-o-matic toolchain-funcs multilib-minimal
MY_P="SDL2-${PV}"
DESCRIPTION="Simple Direct Media Layer"
@@ -181,6 +181,9 @@ multilib_src_install() {
}
multilib_src_install_all() {
- prune_libtool_files
+ find "${ED}" -name "*.la" -delete || die
+ if ! use static-libs ; then
+ find "${ED}" -name "*.a" -delete || die
+ fi
dodoc {BUGS,CREDITS,README,README-SDL,TODO,WhatsNew}.txt docs/README*.md
}