From b0bf528ab3aa155c5115371b972105c8cf8c462a Mon Sep 17 00:00:00 2001 From: Toyohisa Kameyama Date: Wed, 9 Oct 2019 10:51:39 +0900 Subject: [PATCH] perl-perlio-gzip: add zlib dependency. (#13060) --- .../repos/builtin/packages/perl-perlio-gzip/package.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/var/spack/repos/builtin/packages/perl-perlio-gzip/package.py b/var/spack/repos/builtin/packages/perl-perlio-gzip/package.py index 31f07921c9..d7f68d420b 100644 --- a/var/spack/repos/builtin/packages/perl-perlio-gzip/package.py +++ b/var/spack/repos/builtin/packages/perl-perlio-gzip/package.py @@ -14,3 +14,9 @@ class PerlPerlioGzip(PerlPackage): version('0.20', '0393eae5d0b23df6cf40ed44af7d711c') version('0.19', 'dbcfc1450f6b593b65048b8ced061c98') + + depends_on('zlib', type='link') + + def configure_args(self): + p = self.spec['zlib'].prefix.include + return ['INC=-I{0}'.format(p)]