diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-03-19 23:31:34 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-03-19 23:35:44 +0000 |
commit | 6eb4409956662249a48417aec464f7bc0709e49a (patch) | |
tree | 3bd903ee8342e636d5e37d0dd2458fbb2f64a4b2 /dev-lang/gforth | |
parent | games-util/lgogdownloader: Drop old 3.5 (diff) | |
download | gentoo-6eb4409956662249a48417aec464f7bc0709e49a.tar.gz gentoo-6eb4409956662249a48417aec464f7bc0709e49a.tar.bz2 gentoo-6eb4409956662249a48417aec464f7bc0709e49a.zip |
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@gentoo.org>
Diffstat (limited to 'dev-lang/gforth')
-rw-r--r-- | dev-lang/gforth/gforth-0.7.3-r1.ebuild | 7 | ||||
-rw-r--r-- | 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 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 @@ <email>slyfox@gentoo.org</email> <name>Sergei Trofimovich</name> </maintainer> + <use> + <flag name='check'>Enable build-time sanity check.</flag> + </use> </pkgmetadata> |