commit:     8a19f6df4d067ee0d4b181ff3b90d006c1abbfeb
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 20 17:12:31 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Oct 20 17:12:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a19f6df

sys-auth/oath-toolkit: add static-libs USE flag

Also drop *.la.

Closes: https://bugs.gentoo.org/725686
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .../{oath-toolkit-2.6.2.ebuild => oath-toolkit-2.6.2-r1.ebuild}     | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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
similarity index 92%
rename from sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
rename to sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
index 6e5a98f59d5..e6e4f650cf4 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
@@ -11,7 +11,7 @@ LICENSE="GPL-3 LGPL-2.1"
 
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
-IUSE="pam pskc test"
+IUSE="pam pskc static-libs test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -53,11 +53,13 @@ src_configure() {
                $(use_enable test xmltest ) \
                $(use_enable pam) \
                $(use_with pam pam-dir $(getpam_mod_dir)) \
-               $(use_enable pskc)
+               $(use_enable pskc) \
+               $(use_enable static-libs static)
 }
 
 src_install() {
        default
+       find "${ED}" -name '*.la' -type f -delete || die
        if use pam; then
                newdoc pam_oath/README README.pam
        fi

Reply via email to