Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/cndrvcups-common-lb/
Date: Tue, 29 Dec 2020 16:40:18
Message-Id: 1609260004.40b5831adadd55442b152c2080d8871cb7cfc6e9.soap@gentoo
1 commit: 40b5831adadd55442b152c2080d8871cb7cfc6e9
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Tue Dec 29 16:40:04 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 16:40:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b5831a
7
8 net-print/cndrvcups-common-lb: Respect AR, prune static-libs
9
10 Closes: https://github.com/gentoo/gentoo/pull/18868
11 Closes: https://bugs.gentoo.org/762235
12 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.70.ebuild | 6 ++++--
16 1 file changed, 4 insertions(+), 2 deletions(-)
17
18 diff --git a/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.70.ebuild b/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.70.ebuild
19 index b6566cc425d..03e2dcc952f 100644
20 --- a/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.70.ebuild
21 +++ b/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.70.ebuild
22 @@ -3,7 +3,7 @@
23
24 EAPI=7
25
26 -inherit autotools
27 +inherit autotools toolchain-funcs
28
29 MY_PV="$(ver_rs 1- '')"
30 SOURCES_NAME="linux-UFRII-drv-v${MY_PV}-uken"
31 @@ -75,7 +75,7 @@ src_configure() {
32 }
33
34 src_compile() {
35 - change_dir emake
36 + change_dir emake AR="$(tc-getAR)"
37
38 # Cannot be moved to 'change_dir' as it doesn't need eautoreconf
39 cd "${S}/c3plmod_ipc" || die
40 @@ -114,4 +114,6 @@ src_install() {
41 if [[ "$(get_libdir)" != lib ]] && [[ ${SYMLINK_LIB} = yes ]]; then
42 dosym "../$(get_libdir)/libc3pl.so" /usr/lib/libc3pl.so
43 fi
44 +
45 + find "${ED}" -name '*.la' -o -name '*.a' -delete || die
46 }