summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/audacious/package.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/audacious/package.py b/var/spack/repos/builtin/packages/audacious/package.py
index 1b50bfef8a..a38fb18d96 100644
--- a/var/spack/repos/builtin/packages/audacious/package.py
+++ b/var/spack/repos/builtin/packages/audacious/package.py
@@ -2,10 +2,6 @@
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-
-from spack import *
-
-
class Audacious(AutotoolsPackage):
"""A lightweight and versatile audio player."""
@@ -27,6 +23,11 @@ class Audacious(AutotoolsPackage):
depends_on('glib')
depends_on('qt')
+ def patch(self):
+ search_path_args = ' '.join(self.autoreconf_search_path_args)
+ search_path_str = '-I m4 {0}'.format(search_path_args)
+ filter_file('-I m4', search_path_str, 'autogen.sh')
+
def autoreconf(self, spec, prefix):
bash = which('bash')
bash('./autogen.sh')