From 713c7161957103158dbc508b2662b29191a2d85f Mon Sep 17 00:00:00 2001 From: snehring <7978778+snehring@users.noreply.github.com> Date: Mon, 15 Aug 2022 15:33:15 -0500 Subject: tophat: fixing build issue with newer automakes (#32082) --- var/spack/repos/builtin/packages/tophat/package.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/tophat/package.py b/var/spack/repos/builtin/packages/tophat/package.py index cd558eb76d..b0d59bba3a 100644 --- a/var/spack/repos/builtin/packages/tophat/package.py +++ b/var/spack/repos/builtin/packages/tophat/package.py @@ -29,6 +29,10 @@ class Tophat(AutotoolsPackage): parallel = False + def patch(self): + # Newer versions of autoconf hate calling AM_INIT_AUTOMAKE twice + filter_file(r"^AM_INIT_AUTOMAKE$", "", "configure.ac") + def setup_build_environment(self, env): env.append_flags("CFLAGS", self.compiler.cxx98_flag) -- cgit v1.2.3-70-g09d2