summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2018-05-29 16:02:24 -0400
committerAaron Bauman <bman@gentoo.org>2018-05-29 16:10:25 -0400
commit25ab57d2d23c7e882b74b08360002faae7cc31de (patch)
treee1dddb34b38bc07cfd1b1fa4f847bb555dc8f45a /media-libs/celt
parentmedia-gfx/jpegtoavi: src_compile() -> src_configure() (diff)
downloadgentoo-25ab57d2d23c7e882b74b08360002faae7cc31de.tar.gz
gentoo-25ab57d2d23c7e882b74b08360002faae7cc31de.tar.bz2
gentoo-25ab57d2d23c7e882b74b08360002faae7cc31de.zip
media-libs/celt: use if/then for pruning .la files
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-libs/celt')
-rw-r--r--media-libs/celt/celt-0.5.1.3.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-libs/celt/celt-0.5.1.3.ebuild b/media-libs/celt/celt-0.5.1.3.ebuild
index aa8cfc218fbb..8d4ede3a5894 100644
--- a/media-libs/celt/celt-0.5.1.3.ebuild
+++ b/media-libs/celt/celt-0.5.1.3.ebuild
@@ -23,5 +23,7 @@ src_configure() {
src_install() {
default
- use static-libs || (find "${D}" -name '*.la' -delete || die "Pruning failed")
+ if ! use static-libs; then
+ find "${D}" -name '*.la' -delete || die "Pruning failed"
+ fi
}