commit:     ade32fdab147393e09cc239e7cd5adc59a087c12
Author:     Jan Henke <Jan.Henke <AT> taujhe <DOT> de>
AuthorDate: Sat Jul  7 13:41:15 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jul  7 13:57:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade32fda

dev-cpp/ms-gsl: Fix bug 659386

Closes: https://bugs.gentoo.org/659386
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9082

 dev-cpp/ms-gsl/ms-gsl-1.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/ms-gsl/ms-gsl-1.0.0.ebuild 
b/dev-cpp/ms-gsl/ms-gsl-1.0.0.ebuild
index c1443565414..cde182b5ba1 100644
--- a/dev-cpp/ms-gsl/ms-gsl-1.0.0.ebuild
+++ b/dev-cpp/ms-gsl/ms-gsl-1.0.0.ebuild
@@ -26,7 +26,7 @@ PATCHES=(
 src_configure() {
        local mycmakeargs=(
                -DGSL_TEST=$(usex test)
-               -DFORCE_SYSTEM_CATCH=ON
        )
+       use test && mycmakeargs+=( -DFORCE_SYSTEM_CATCH=ON )
        cmake-utils_src_configure
 }

Reply via email to