commit:     519505b5d95b1110ae1c4a05fa34f86d53e083c3
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sun May 31 20:13:06 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun May 31 20:13:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519505b5

app-crypt/stoken: make static builds optional

Closes: https://bugs.gentoo.org/726486
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --force
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 app-crypt/stoken/{stoken-0.92.ebuild => stoken-0.92-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-crypt/stoken/stoken-0.92.ebuild 
b/app-crypt/stoken/stoken-0.92-r1.ebuild
similarity index 83%
rename from app-crypt/stoken/stoken-0.92.ebuild
rename to app-crypt/stoken/stoken-0.92-r1.ebuild
index 5774eec2cf5..d535f81ddc4 100644
--- a/app-crypt/stoken/stoken-0.92.ebuild
+++ b/app-crypt/stoken/stoken-0.92-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/cernekee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="LGPL-2.1+"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ppc64 x86"
-IUSE="gtk"
+IUSE="gtk static"
 
 #      || ( dev-libs/nettle dev-libs/libtomcrypt )    libtomcrypt is not 
packaged
 RDEPEND="
@@ -26,5 +26,5 @@ src_prepare() {
 }
 
 src_configure() {
-       econf $(use_with gtk)
+       econf $(use_with gtk) --enable-static=$(usex static)
 }

Reply via email to