From: Sergei Trofimovich Date: Thu, 19 Mar 2020 23:31:34 +0000 (+0000) Subject: dev-lang/gforth: make sanity checks optional X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6eb4409956662249a48417aec464f7bc0709e49a;p=gentoo.git 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 --- diff --git a/dev-lang/gforth/gforth-0.7.3-r1.ebuild b/dev-lang/gforth/gforth-0.7.3-r1.ebuild index 2697a44780a7..01598f0f239e 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 c5298995d2d4..03e8585377c7 100644 --- a/dev-lang/gforth/metadata.xml +++ b/dev-lang/gforth/metadata.xml @@ -5,4 +5,7 @@ slyfox@gentoo.org Sergei Trofimovich + + Enable build-time sanity check. +