summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/gforth')
-rw-r--r--dev-lang/gforth/gforth-0.7.3-r1.ebuild7
-rw-r--r--dev-lang/gforth/metadata.xml3
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>