diff options
author | Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> | 2022-07-22 18:14:40 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-07-22 22:49:09 +0200 |
commit | 6556322145f33a4b3d9c682abe555a7bf4e29e6e (patch) | |
tree | 7e329f2288ed0bbfa3f68a732604f4f8cd9f2b76 /sci-physics | |
parent | sci-physics/fastjet: fix USE="cgal" with versions 5.4 and up (diff) | |
download | gentoo-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.ebuild | 5 |
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 |