dev-cpp/ms-gsl: Fix bug 659386
authorJan Henke <Jan.Henke@taujhe.de>
Sat, 7 Jul 2018 13:41:15 +0000 (15:41 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 7 Jul 2018 13:57:43 +0000 (15:57 +0200)
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

index c14435654142eee8aaa93695a6851161b0a3decb..cde182b5ba10a463540c611bb55d234ae0579f7f 100644 (file)
@@ -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
 }