commit: 48e131e52959d28d2a4775d1d9ac177cda59c77f
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jan 19 07:29:56 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Jan 19 07:29:56 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=48e131e5
sci-libs/factory-3.1.1-r2: Improve removal of static libs
---
sci-libs/factory/factory-3.1.1-r2.ebuild | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sci-libs/factory/factory-3.1.1-r2.ebuild
b/sci-libs/factory/factory-3.1.1-r2.ebuild
index d3622fc..ada5536 100644
--- a/sci-libs/factory/factory-3.1.1-r2.ebuild
+++ b/sci-libs/factory/factory-3.1.1-r2.ebuild
@@ -42,7 +42,5 @@ src_install() {
# Passing --disable-static to configure won't disable the build of
static libs,
# as libtool isn't used. Therefore the static libs are deleted after
installed to ${D}.
- if ! use static-libs; then
- find "${D}" -type f -name "*.a" -delete || die
- fi
+ use !static-libs || find "${ED}" -type f -name "*.a" -delete || die
}