diff options
-rw-r--r-- | var/spack/repos/builtin/packages/flex/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/flex/package.py b/var/spack/repos/builtin/packages/flex/package.py index 3c9f51a0eb..83214099f2 100644 --- a/var/spack/repos/builtin/packages/flex/package.py +++ b/var/spack/repos/builtin/packages/flex/package.py @@ -43,6 +43,11 @@ class Flex(AutotoolsPackage): # - https://github.com/westes/flex/issues/241 patch('https://github.com/westes/flex/commit/24fd0551333e7eded87b64dd36062da3df2f6380.patch', sha256='09c22e5c6fef327d3e48eb23f0d610dcd3a35ab9207f12e0f875701c677978d3', when='@2.6.4') + @when('@:2.6.0,2.6.4') + def autoreconf(self, spec, prefix): + autogen = Executable('./autogen.sh') + autogen() + @property def force_autoreconf(self): # The patch for 2.6.4 touches configure |