summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatish Balay <balay@mcs.anl.gov>2021-06-25 16:04:32 -0500
committerGitHub <noreply@github.com>2021-06-25 14:04:32 -0700
commit89371020062cce3b5d6b167a71f8d0e586c658ab (patch)
treef06ba99d2028b5133df60af065a97c48ec1131b8
parentcf0b3632fffe090fccafe6d2c5a83641e8796e26 (diff)
downloadspack-89371020062cce3b5d6b167a71f8d0e586c658ab.tar.gz
spack-89371020062cce3b5d6b167a71f8d0e586c658ab.tar.bz2
spack-89371020062cce3b5d6b167a71f8d0e586c658ab.tar.xz
spack-89371020062cce3b5d6b167a71f8d0e586c658ab.zip
p4est: use autoreconf only for @:2.2 (#24528)
This fixes @2.3.2 build breakage with #23824 changes.
-rw-r--r--var/spack/repos/builtin/packages/p4est/package.py5
1 files changed, 3 insertions, 2 deletions
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 = [