summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJuan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com>2023-11-06 18:33:23 +0100
committerGitHub <noreply@github.com>2023-11-06 09:33:23 -0800
commitc6c689be286a22fa5e7de6a31881961688612245 (patch)
treea90173cf8b8701e3942d9401569e9d97a40433f7 /var
parentab563c09d2162df0f8cc715952eaa264f29e8e6b (diff)
downloadspack-c6c689be286a22fa5e7de6a31881961688612245.tar.gz
spack-c6c689be286a22fa5e7de6a31881961688612245.tar.bz2
spack-c6c689be286a22fa5e7de6a31881961688612245.tar.xz
spack-c6c689be286a22fa5e7de6a31881961688612245.zip
pythia8: fix configure args (#40644)
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pythia8/package.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/pythia8/package.py b/var/spack/repos/builtin/packages/pythia8/package.py
index af355588a8..f7ef4ad30b 100644
--- a/var/spack/repos/builtin/packages/pythia8/package.py
+++ b/var/spack/repos/builtin/packages/pythia8/package.py
@@ -131,16 +131,16 @@ class Pythia8(AutotoolsPackage):
args.append("--with-boost=" + self.spec["boost"].prefix)
if "+madgraph5amc" in self.spec:
- args += "--with-mg5mes=" + self.spec["madgraph5amc"].prefix
+ args.append("--with-mg5mes=" + self.spec["madgraph5amc"].prefix)
else:
- args += "--without-mg5mes"
+ args.append("--without-mg5mes")
args += self.with_or_without("hepmc3", activation_value="prefix")
if "+fastjet" in self.spec:
- args += "--with-fastjet3=" + self.spec["fastjet"].prefix
+ args.append("--with-fastjet3=" + self.spec["fastjet"].prefix)
else:
- args += "--without-fastjet3"
+ args.append("--without-fastjet3")
args += self.with_or_without("evtgen", activation_value="prefix")
args += self.with_or_without("root", activation_value="prefix")