From 2111cf8044ba2d772c38f3fcd4c0851597a50c4a Mon Sep 17 00:00:00 2001 From: haralmha <47558670+haralmha@users.noreply.github.com> Date: Wed, 9 Mar 2022 10:02:37 +0100 Subject: [PATCH] thepeg: Add zlib dependency (#29370) Co-authored-by: Massimiliano Culpo --- var/spack/repos/builtin/packages/thepeg/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/thepeg/package.py b/var/spack/repos/builtin/packages/thepeg/package.py index 664ae85d10..93a505ce03 100644 --- a/var/spack/repos/builtin/packages/thepeg/package.py +++ b/var/spack/repos/builtin/packages/thepeg/package.py @@ -71,6 +71,7 @@ class Thepeg(AutotoolsPackage): depends_on('automake', type='build') depends_on('libtool', type='build') depends_on('m4', type='build') + depends_on('zlib') variant('hepmc', default='2', values=('2', '3'), description='HepMC interface to build ') @@ -78,6 +79,7 @@ class Thepeg(AutotoolsPackage): def configure_args(self): args = ['--with-gsl=' + self.spec['gsl'].prefix, '--without-javagui'] + args += ['--with-zlib=' + self.spec['zlib'].prefix] if self.spec.satisfies('@:1.8'): args += ['--with-LHAPDF=' + self.spec['lhapdf'].prefix]