Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libogg/
Date: Mon, 08 Jan 2018 08:08:56
Message-Id: 1515398900.84c29736fc5fbe494bd356a053f192e712cb72a2.aballier@gentoo
1 commit: 84c29736fc5fbe494bd356a053f192e712cb72a2
2 Author: Marty E. Plummer <hanetzer <AT> protonmail <DOT> com>
3 AuthorDate: Mon Jan 8 03:21:15 2018 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 8 08:08:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84c29736
7
8 media-libs/libogg: find and remove '*.a' not required
9
10 Not sure if this was changed in a previous version of libogg, but
11 libogg-1.3.3 correctly respects --enable-static/--disable-static, and
12 does not produce a static library when built with USE=-static-libs.
13
14 The find "${ED}" -name '*.a' -delete || die line also kills off
15 libogg.dll.a, which is needed for shared linking on mingw-w64, so
16 it should be removed as uneeded and harmful.
17
18 Package-Manager: Portage-2.3.19, Repoman-2.3.6
19 Signed-off-by: Marty E. Plummer <hanetzer <AT> protonmail.com>
20
21 media-libs/libogg/libogg-1.3.3.ebuild | 5 +----
22 1 file changed, 1 insertion(+), 4 deletions(-)
23
24 diff --git a/media-libs/libogg/libogg-1.3.3.ebuild b/media-libs/libogg/libogg-1.3.3.ebuild
25 index 27c0175879b..db5bd9b334d 100644
26 --- a/media-libs/libogg/libogg-1.3.3.ebuild
27 +++ b/media-libs/libogg/libogg-1.3.3.ebuild
28 @@ -1,4 +1,4 @@
29 -# Copyright 1999-2017 Gentoo Foundation
30 +# Copyright 1999-2018 Gentoo Foundation
31 # Distributed under the terms of the GNU General Public License v2
32
33 EAPI=6
34 @@ -30,7 +30,4 @@ multilib_src_configure() {
35 multilib_src_install_all() {
36 einstalldocs
37 find "${ED}" -name "*.la" -delete || die
38 - if ! use static-libs ; then
39 - find "${ED}" -name "*.a" -delete || die
40 - fi
41 }