commit:     b0af10f943b0e2393e42780c20a2c631aff88dd9
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 25 04:52:44 2019 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 04:53:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0af10f9

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 <AT> gentoo.org>

 dev-util/cmake/cmake-3.14.3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-util/cmake/cmake-3.14.3.ebuild 
b/dev-util/cmake/cmake-3.14.3.ebuild
index 81acae6e752..0ec739545d3 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

Reply via email to