Bug: https://bugs.gentoo.org/713138
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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:* )"
src_configure() {
econf \
- $(use emacs || echo "--without-lispdir")
+ $(use emacs || echo "--without-lispdir") \
+ $(use_with check)
}
src_compile() {
<email>slyfox@gentoo.org</email>
<name>Sergei Trofimovich</name>
</maintainer>
+ <use>
+ <flag name='check'>Enable build-time sanity check.</flag>
+ </use>
</pkgmetadata>