commit: 6eb4409956662249a48417aec464f7bc0709e49a Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Thu Mar 19 23:31:34 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Thu Mar 19 23:35:44 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eb44099
dev-lang/gforth: make sanity checks optional Bug: https://bugs.gentoo.org/713138 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> dev-lang/gforth/gforth-0.7.3-r1.ebuild | 7 ++++--- dev-lang/gforth/metadata.xml | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dev-lang/gforth/gforth-0.7.3-r1.ebuild b/dev-lang/gforth/gforth-0.7.3-r1.ebuild index 2697a44780a..01598f0f239 100644 --- a/dev-lang/gforth/gforth-0.7.3-r1.ebuild +++ b/dev-lang/gforth/gforth-0.7.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/gforth/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" -IUSE="emacs" +IUSE="+check emacs" DEPEND="dev-libs/ffcall emacs? ( >=app-editors/emacs-23.1:* )" @@ -26,7 +26,8 @@ PATCHES=( src_configure() { econf \ - $(use emacs || echo "--without-lispdir") + $(use emacs || echo "--without-lispdir") \ + $(use_with check) } src_compile() { diff --git a/dev-lang/gforth/metadata.xml b/dev-lang/gforth/metadata.xml index c5298995d2d..03e8585377c 100644 --- a/dev-lang/gforth/metadata.xml +++ b/dev-lang/gforth/metadata.xml @@ -5,4 +5,7 @@ <email>[email protected]</email> <name>Sergei Trofimovich</name> </maintainer> + <use> + <flag name='check'>Enable build-time sanity check.</flag> + </use> </pkgmetadata>
