Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/
Date: Wed, 20 Oct 2021 17:17:26
Message-Id: 1634749951.8a19f6df4d067ee0d4b181ff3b90d006c1abbfeb.floppym@gentoo
1 commit: 8a19f6df4d067ee0d4b181ff3b90d006c1abbfeb
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 20 17:12:31 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 20 17:12:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a19f6df
7
8 sys-auth/oath-toolkit: add static-libs USE flag
9
10 Also drop *.la.
11
12 Closes: https://bugs.gentoo.org/725686
13 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
14
15 .../{oath-toolkit-2.6.2.ebuild => oath-toolkit-2.6.2-r1.ebuild} | 6 ++++--
16 1 file changed, 4 insertions(+), 2 deletions(-)
17
18 diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
19 similarity index 92%
20 rename from sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
21 rename to sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
22 index 6e5a98f59d5..e6e4f650cf4 100644
23 --- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
24 +++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
25 @@ -11,7 +11,7 @@ LICENSE="GPL-3 LGPL-2.1"
26
27 SLOT="0"
28 KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
29 -IUSE="pam pskc test"
30 +IUSE="pam pskc static-libs test"
31 RESTRICT="!test? ( test )"
32
33 RDEPEND="
34 @@ -53,11 +53,13 @@ src_configure() {
35 $(use_enable test xmltest ) \
36 $(use_enable pam) \
37 $(use_with pam pam-dir $(getpam_mod_dir)) \
38 - $(use_enable pskc)
39 + $(use_enable pskc) \
40 + $(use_enable static-libs static)
41 }
42
43 src_install() {
44 default
45 + find "${ED}" -name '*.la' -type f -delete || die
46 if use pam; then
47 newdoc pam_oath/README README.pam
48 fi