commit:     77365155eec5aa718f25f49c0875fcbd022f5793
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 29 08:54:38 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul  9 21:41:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77365155

dev-cpp/gflags: Enable tests

 dev-cpp/gflags/gflags-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/gflags/gflags-9999.ebuild 
b/dev-cpp/gflags/gflags-9999.ebuild
index 8a45409fc69..79f70a7aee4 100644
--- a/dev-cpp/gflags/gflags-9999.ebuild
+++ b/dev-cpp/gflags/gflags-9999.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="http://gflags.github.io/gflags/";
 
 LICENSE="BSD"
 SLOT="0/2.2"
-IUSE="static-libs"
+IUSE="static-libs test"
 
 # AUTHORS.txt only links the google group
 DOCS=( ChangeLog.txt README.md )
@@ -27,6 +27,7 @@ multilib_src_configure() {
        local mycmakeargs=(
                -DBUILD_SHARED_LIBS=ON
                -DBUILD_STATIC_LIBS=$(usex static-libs)
+               -DBUILD_TESTING=$(usex test)
                # avoid installing .cmake/packages, e.g.:
                # >>> 
/tmp/portage/dev-cpp/gflags-9999/homedir/.cmake/packages/gflags/a7fca4708532331c2d656af0fdc8b8b9
                -DREGISTER_INSTALL_PREFIX=OFF

Reply via email to