commit:     9168d8ebc871df101260acdd18c9b705f67fddb7
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 26 16:33:35 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 16:33:35 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9168d8eb

dev-cpp/catch: Sync live ebuild

Package-Manager: Portage-2.3.20, Repoman-2.3.6

 dev-cpp/catch/catch-9999.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-cpp/catch/catch-9999.ebuild b/dev-cpp/catch/catch-9999.ebuild
index e24ac4a8a03..d7763c4ccaa 100644
--- a/dev-cpp/catch/catch-9999.ebuild
+++ b/dev-cpp/catch/catch-9999.ebuild
@@ -3,14 +3,18 @@
 
 EAPI=6
 
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
 inherit cmake-utils
 
 if [[ ${PV} == *9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/catchorg/Catch2.git";
 else
+       MY_P=${PN^}2-${PV}
        SRC_URI="https://github.com/catchorg/Catch2/archive/v${PV}.tar.gz -> 
${MY_P}.tar.gz"
        KEYWORDS="~amd64 ~x86"
+
+       S=${WORKDIR}/${MY_P}
 fi
 
 DESCRIPTION="Modern C++ header-only framework for unit-tests"

Reply via email to