aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2022-09-02 06:29:50 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-09-02 11:24:07 +0200
commit6fd0e1971a4a01a866f4a0d8101d21f08469f09d (patch)
treedb72e1894a5afe921b8264594ec8d5603bf55beb
parentsci-physics/formcalc: update Manifest (diff)
downloadsci-6fd0e197.tar.gz
sci-6fd0e197.tar.bz2
sci-6fd0e197.zip
sci-physics/rivet: ESYSROOT and bracketed vars
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> Closes: https://github.com/gentoo/sci/pull/1170 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r--sci-physics/rivet/rivet-3.1.5.ebuild8
-rw-r--r--sci-physics/rivet/rivet-3.1.6.ebuild8
2 files changed, 8 insertions, 8 deletions
diff --git a/sci-physics/rivet/rivet-3.1.5.ebuild b/sci-physics/rivet/rivet-3.1.5.ebuild
index 5470ea5a7..4cc7c6018 100644
--- a/sci-physics/rivet/rivet-3.1.5.ebuild
+++ b/sci-physics/rivet/rivet-3.1.5.ebuild
@@ -62,10 +62,10 @@ src_configure() {
PREFIX_YODA=$(yoda-config --prefix) || die
PREFIX_FJ=$(fastjet-config --prefix) || die
econf \
- $(usex hepmc2 "--with-hepmc=/usr" "") \
- $(usex hepmc3 "--with-hepmc3=/usr" "") \
- --with-yoda=$PREFIX_YODA \
- --with-fastjet=$PREFIX_FJ
+ $(usex hepmc2 "--with-hepmc=${ESYSROOT}/usr" "") \
+ $(usex hepmc3 "--with-hepmc3=${ESYSROOT}/usr" "") \
+ --with-yoda=${PREFIX_YODA} \
+ --with-fastjet=${PREFIX_FJ}
}
src_install() {
diff --git a/sci-physics/rivet/rivet-3.1.6.ebuild b/sci-physics/rivet/rivet-3.1.6.ebuild
index 89a2a09ba..3a83f7136 100644
--- a/sci-physics/rivet/rivet-3.1.6.ebuild
+++ b/sci-physics/rivet/rivet-3.1.6.ebuild
@@ -62,10 +62,10 @@ src_configure() {
PREFIX_YODA=$(yoda-config --prefix) || die
PREFIX_FJ=$(fastjet-config --prefix) || die
econf \
- $(usex hepmc2 "--with-hepmc=/usr" "") \
- $(usex hepmc3 "--with-hepmc3=/usr" "") \
- --with-yoda=$PREFIX_YODA \
- --with-fastjet=$PREFIX_FJ
+ $(usex hepmc2 "--with-hepmc=${ESYSROOT}/usr" "") \
+ $(usex hepmc3 "--with-hepmc3=${ESYSROOT}/usr" "") \
+ --with-yoda=${PREFIX_YODA} \
+ --with-fastjet=${PREFIX_FJ}
}
src_install() {