summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2022-07-22 18:14:40 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-07-22 22:49:09 +0200
commit6556322145f33a4b3d9c682abe555a7bf4e29e6e (patch)
tree7e329f2288ed0bbfa3f68a732604f4f8cd9f2b76 /sci-physics
parentsci-physics/fastjet: fix USE="cgal" with versions 5.4 and up (diff)
downloadgentoo-6556322145f33a4b3d9c682abe555a7bf4e29e6e.tar.gz
gentoo-6556322145f33a4b3d9c682abe555a7bf4e29e6e.tar.bz2
gentoo-6556322145f33a4b3d9c682abe555a7bf4e29e6e.zip
sci-physics/fastjet-contrib: needs CXX from tc
Closes: https://bugs.gentoo.org/860039 Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> Closes: https://github.com/gentoo/gentoo/pull/26521 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/fastjet-contrib/fastjet-contrib-1.049.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-physics/fastjet-contrib/fastjet-contrib-1.049.ebuild b/sci-physics/fastjet-contrib/fastjet-contrib-1.049.ebuild
index c5de8596605c..cf942ac11e58 100644
--- a/sci-physics/fastjet-contrib/fastjet-contrib-1.049.ebuild
+++ b/sci-physics/fastjet-contrib/fastjet-contrib-1.049.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit toolchain-funcs
+
MY_PN=fjcontrib
MY_P=${MY_PN}-${PV}
@@ -23,7 +25,8 @@ PATCHES=(
)
src_configure() {
- ./configure --prefix=/usr --fastjet-config=/usr/bin/fastjet-config CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" FFLAGS="${FFLAGS}" LDFLAGS="${LDFLAGS}" || die
+ CXX=`tc-getCXX`
+ ./configure --prefix=/usr --fastjet-config=/usr/bin/fastjet-config CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" FFLAGS="${FFLAGS}" LDFLAGS="${LDFLAGS}" || die
}
src_compile() {
emake