commit:     21b5a5c42223558adf3a1017cd5e8eaf81269388
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 29 15:31:20 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Dec 29 15:31:20 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21b5a5c4

app-text/teckit: add static-libs useflag

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-text/teckit/teckit-2.5.6.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-text/teckit/teckit-2.5.6.ebuild 
b/app-text/teckit/teckit-2.5.6.ebuild
index 2990413..1f14072 100644
--- a/app-text/teckit/teckit-2.5.6.ebuild
+++ b/app-text/teckit/teckit-2.5.6.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/silnrsi/teckit/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="|| ( CPL-0.5 LGPL-2.1 )"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
+IUSE="static-libs"
 
 RDEPEND="sys-libs/zlib
        dev-libs/expat"
@@ -26,6 +26,10 @@ src_prepare() {
        eautoreconf
 }
 
+src_configure() {
+       econf $(use_enable static-libs static)
+}
+
 src_install() {
        emake DESTDIR="${D}" install || die
        dodoc AUTHORS README NEWS

Reply via email to