From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 91E82138A1A for ; Thu, 22 Jan 2015 00:09:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AD85E086C; Thu, 22 Jan 2015 00:09:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 977ABE087D for ; Thu, 22 Jan 2015 00:09:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C2ABD34071D for ; Thu, 22 Jan 2015 00:09:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC0F910176 for ; Thu, 22 Jan 2015 00:09:39 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1421652596.48e131e52959d28d2a4775d1d9ac177cda59c77f.ottxor@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/factory/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/factory/factory-3.1.1-r2.ebuild X-VCS-Directories: sci-libs/factory/ X-VCS-Committer: ottxor X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: 48e131e52959d28d2a4775d1d9ac177cda59c77f X-VCS-Branch: master Date: Thu, 22 Jan 2015 00:09:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6559a07c-a169-4381-8489-1c7bc0e5f980 X-Archives-Hash: 57b2825eeabe9f496ef5b646c18bcdcc commit: 48e131e52959d28d2a4775d1d9ac177cda59c77f Author: Marius Brehler linux sungazer de> AuthorDate: Mon Jan 19 07:29:56 2015 +0000 Commit: Christoph Junghans gentoo 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 }