diff --git a/var/spack/repos/builtin/packages/whizard/package.py b/var/spack/repos/builtin/packages/whizard/package.py index d553119c521..82f3ec6bd08 100644 --- a/var/spack/repos/builtin/packages/whizard/package.py +++ b/var/spack/repos/builtin/packages/whizard/package.py @@ -80,6 +80,7 @@ class Whizard(AutotoolsPackage): when="+openloops", ) depends_on("texlive", when="+latex") + depends_on("ghostscript", when="+latex") depends_on("zlib-api") # Fix for https://github.com/key4hep/key4hep-spack/issues/71 @@ -159,8 +160,8 @@ def configure_args(self): if "+openloops" in spec: args.append(f"--with-openloops={spec['openloops'].prefix}") - if "+openmp" not in spec: - args.append("--disable-openmp") + if "+openmp" in spec: + args.append("--enable-fc-openmp") return args def url_for_version(self, version):