commit:     e4b6ba24f5accb6b5ca28af13aa5e6069c69be83
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu May  5 15:25:14 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu May  5 23:37:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e4b6ba24

sci-mathematics/clasp: includedir for catch2

Closes: https://bugs.gentoo.org/842759
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sci-mathematics/clasp/clasp-3.3.8.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/clasp/clasp-3.3.8.ebuild 
b/sci-mathematics/clasp/clasp-3.3.8.ebuild
index a9aa8e7e4..9627e4dab 100644
--- a/sci-mathematics/clasp/clasp-3.3.8.ebuild
+++ b/sci-mathematics/clasp/clasp-3.3.8.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="A conflict-driven nogood learning answer set solver"
 HOMEPAGE="
@@ -26,6 +26,7 @@ DEPEND="
 RESTRICT="!test? ( test )"
 
 src_prepare() {
+       append-cxxflags "-I/usr/include/catch2"
        rm tests/catch.hpp || die
        cmake_src_prepare
 }

Reply via email to