diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/libtiff/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/libtiff/package.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libtiff/package.py b/var/spack/repos/builtin/packages/libtiff/package.py index e484b5fc75..e0021b4606 100644 --- a/var/spack/repos/builtin/packages/libtiff/package.py +++ b/var/spack/repos/builtin/packages/libtiff/package.py @@ -55,6 +55,18 @@ class Libtiff(AutotoolsPackage): conflicts('+zstd', when='@:4.0.9') conflicts('+webp', when='@:4.0.9') + # https://gitlab.com/libtiff/libtiff/-/merge_requests/243 + patch('no-include-root.patch', when='@4.3.0') + + depends_on('automake', when='@4.3.0', type='build') + depends_on('autoconf', when='@4.3.0', type='build') + depends_on('libtool', when='@4.3.0', type='build') + depends_on('m4', when='@4.3.0', type='build') + + @property + def force_autoreconf(self): + return self.spec.satisfies('@4.3.0') + def patch(self): # Remove flags not recognized by the NVIDIA compiler if self.spec.satisfies('%nvhpc@:20.11'): |