From 0db3b36874457e065fb49ec469a40e72d6c011a0 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Wed, 18 Dec 2024 20:19:11 -0600 Subject: [PATCH] sherpa: fix AutotoolsBuilder install signature (#48002) --- var/spack/repos/builtin/packages/sherpa/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/sherpa/package.py b/var/spack/repos/builtin/packages/sherpa/package.py index 20133e54be6..e61e972b6f9 100644 --- a/var/spack/repos/builtin/packages/sherpa/package.py +++ b/var/spack/repos/builtin/packages/sherpa/package.py @@ -208,11 +208,11 @@ def configure_args(self): return args - def install(self, spec, prefix): + def install(self, pkg, spec, prefix): # Make sure the path to the provided libtool is used instead of the system one filter_file( r"autoreconf -fi", - f"autoreconf -fi -I {self.spec['libtool'].prefix.share.aclocal}", + f"autoreconf -fi -I {pkg.spec['libtool'].prefix.share.aclocal}", "AMEGIC++/Main/makelibs", ) make("install")