summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2021-12-06 03:42:54 -0600
committerGitHub <noreply@github.com>2021-12-06 10:42:54 +0100
commit2bb075c850a6b0efcb3ecdc5de130deb2107322c (patch)
tree45e517e5219a98bdc5a0b4976fcb34e0d075bead
parent235edd0742646dfdd4b47adb41b57fe4318c5cd0 (diff)
downloadspack-2bb075c850a6b0efcb3ecdc5de130deb2107322c.tar.gz
spack-2bb075c850a6b0efcb3ecdc5de130deb2107322c.tar.bz2
spack-2bb075c850a6b0efcb3ecdc5de130deb2107322c.tar.xz
spack-2bb075c850a6b0efcb3ecdc5de130deb2107322c.zip
rivet: hepmc=3: Fix prefix of --with-hepmc3 (#27814)
-rw-r--r--var/spack/repos/builtin/packages/rivet/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/rivet/package.py b/var/spack/repos/builtin/packages/rivet/package.py
index 2ca4014449..6a1df5cf3a 100644
--- a/var/spack/repos/builtin/packages/rivet/package.py
+++ b/var/spack/repos/builtin/packages/rivet/package.py
@@ -168,7 +168,7 @@ class Rivet(AutotoolsPackage):
if self.spec.variants['hepmc'].value == '2':
args += ['--with-hepmc=' + self.spec['hepmc'].prefix]
else:
- args += ['--with-hepmc3=' + self.spec['hepmc'].prefix]
+ args += ['--with-hepmc3=' + self.spec['hepmc3'].prefix]
if self.spec.satisfies('@:1'):
args += ['--with-boost-incpath=' + self.spec['boost'].includes]