diff --git a/var/spack/repos/builtin/packages/p4est/package.py b/var/spack/repos/builtin/packages/p4est/package.py index 9f33ab5cb9..cfaf8e5e6b 100644 --- a/var/spack/repos/builtin/packages/p4est/package.py +++ b/var/spack/repos/builtin/packages/p4est/package.py @@ -48,8 +48,9 @@ class P4est(AutotoolsPackage): when='@2.0') def autoreconf(self, spec, prefix): - bootstrap = Executable('./bootstrap') - bootstrap() + if self.spec.satisfies('@:2.2'): + bootstrap = Executable('./bootstrap') + bootstrap() def configure_args(self): args = [