summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2019-04-25 14:52:44 +1000
committerMichael Palimaka <kensington@gentoo.org>2019-04-25 14:53:16 +1000
commitb0af10f943b0e2393e42780c20a2c631aff88dd9 (patch)
treed2d8b1431ff4f20faa82ba26643258f17f0ac1b5 /dev-util/cmake
parentnet-misc/electron-cash: version bump to 4.0.2 (diff)
downloadgentoo-b0af10f943b0e2393e42780c20a2c631aff88dd9.tar.gz
gentoo-b0af10f943b0e2393e42780c20a2c631aff88dd9.tar.bz2
gentoo-b0af10f943b0e2393e42780c20a2c631aff88dd9.zip
dev-util/cmake: build tests conditionally
Closes: https://bugs.gentoo.org/683742 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'dev-util/cmake')
-rw-r--r--dev-util/cmake/cmake-3.14.3.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-util/cmake/cmake-3.14.3.ebuild b/dev-util/cmake/cmake-3.14.3.ebuild
index 81acae6e7527..0ec739545d3b 100644
--- a/dev-util/cmake/cmake-3.14.3.ebuild
+++ b/dev-util/cmake/cmake-3.14.3.ebuild
@@ -17,7 +17,7 @@ LICENSE="CMake"
SLOT="0"
[[ "${PV}" = *_rc* ]] || \
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc emacs system-jsoncpp ncurses qt5"
+IUSE="doc emacs system-jsoncpp ncurses qt5 test"
RDEPEND="
app-crypt/rhash
@@ -165,6 +165,7 @@ src_configure() {
-DSPHINX_MAN=$(usex doc)
-DSPHINX_HTML=$(usex doc)
-DBUILD_CursesDialog="$(usex ncurses)"
+ -DBUILD_TESTING=$(usex test)
)
if use qt5 ; then