commit:     84c29736fc5fbe494bd356a053f192e712cb72a2
Author:     Marty E. Plummer <hanetzer <AT> protonmail <DOT> com>
AuthorDate: Mon Jan  8 03:21:15 2018 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 08:08:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84c29736

media-libs/libogg: find and remove '*.a' not required

Not sure if this was changed in a previous version of libogg, but
libogg-1.3.3 correctly respects --enable-static/--disable-static, and
does not produce a static library when built with USE=-static-libs.

The find "${ED}" -name '*.a' -delete || die line also kills off
libogg.dll.a, which is needed for shared linking on mingw-w64, so
it should be removed as uneeded and harmful.

Package-Manager: Portage-2.3.19, Repoman-2.3.6
Signed-off-by: Marty E. Plummer <hanetzer <AT> protonmail.com>

 media-libs/libogg/libogg-1.3.3.ebuild | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/media-libs/libogg/libogg-1.3.3.ebuild 
b/media-libs/libogg/libogg-1.3.3.ebuild
index 27c0175879b..db5bd9b334d 100644
--- a/media-libs/libogg/libogg-1.3.3.ebuild
+++ b/media-libs/libogg/libogg-1.3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -30,7 +30,4 @@ multilib_src_configure() {
 multilib_src_install_all() {
        einstalldocs
        find "${ED}" -name "*.la" -delete || die
-       if ! use static-libs ; then
-               find "${ED}" -name "*.a" -delete || die
-       fi
 }

Reply via email to