Fix: Flex Reconfigure (#16194)
* Fix: Flex Reconfigure Learn the `flex` package how to reconfigure itself when needed. Fix #11551 Co-authored-by: Andrew W Elble <aweits@rit.edu> * Autoreconf: only when actually desired Co-authored-by: Andrew W Elble <aweits@rit.edu>
This commit is contained in:
parent
667fee0703
commit
2f7e940872
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user