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 <bernhard.kaindl@ait.ac.at>
This commit is contained in:
bernhardkaindl 2021-09-24 16:02:09 +02:00 committed by GitHub
parent 71378bcf39
commit bcf708098d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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