diff options
Diffstat (limited to 'dev-cpp/ms-gsl/ms-gsl-9999.ebuild')
-rw-r--r-- | dev-cpp/ms-gsl/ms-gsl-9999.ebuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/dev-cpp/ms-gsl/ms-gsl-9999.ebuild b/dev-cpp/ms-gsl/ms-gsl-9999.ebuild index 767d0523e267..d7f19d2bb295 100644 --- a/dev-cpp/ms-gsl/ms-gsl-9999.ebuild +++ b/dev-cpp/ms-gsl/ms-gsl-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils git-r3 +inherit cmake git-r3 DESCRIPTION="Guideline Support Library implementation by Microsoft" HOMEPAGE="https://github.com/Microsoft/GSL" @@ -18,17 +18,16 @@ RESTRICT="!test? ( test )" # header only library RDEPEND="" -DEPEND="test? ( dev-cpp/catch:1 )" +DEPEND="test? ( >=dev-cpp/gtest-1.9.0_pre20190607 )" PATCHES=( - "${FILESDIR}/${PN}-1.0.0-use_system_catch-636828.patch" "${FILESDIR}/${PN}-1.0.0-disable_Werror-644042.patch" + "${FILESDIR}/${PN}-3.0.0-use_system_gtest.patch" ) src_configure() { local mycmakeargs=( -DGSL_TEST=$(usex test) ) - use test && mycmakeargs+=( -DFORCE_SYSTEM_CATCH=ON ) - cmake-utils_src_configure + cmake_src_configure } |