From bcf708098de5db0890020cc786f7290ea99377b4 Mon Sep 17 00:00:00 2001 From: bernhardkaindl <43588962+bernhardkaindl@users.noreply.github.com> Date: Fri, 24 Sep 2021 16:02:09 +0200 Subject: kmod: Add the missing depends on m4 and pkgconfig (#26137) The build needs pkgconfig and lzma, m4 is already added by autoconf. Disable generation of kmod manpages as spack does not have xsltproc yet. Co-authored-by: Bernhard Kaindl --- var/spack/repos/builtin/packages/kmod/package.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/kmod/package.py b/var/spack/repos/builtin/packages/kmod/package.py index d455b302b5..342737e2d6 100644 --- a/var/spack/repos/builtin/packages/kmod/package.py +++ b/var/spack/repos/builtin/packages/kmod/package.py @@ -23,14 +23,16 @@ class Kmod(AutotoolsPackage): depends_on('autoconf', type='build') depends_on('automake', type='build') depends_on('libtool', type='build') - depends_on('m4', type='build') + depends_on('pkgconfig', type='build') + depends_on('lzma') def autoreconf(self, spec, prefix): bash = which("bash") bash('autogen.sh') def configure_args(self): - args = ["--with-bashcompletiondir=" + + args = ['--disable-manpages', + '--with-bashcompletiondir=' + join_path(self.spec['kmod'].prefix, 'share', 'bash-completion', 'completions')] return args -- cgit v1.2.3-60-g2f50