summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbernhardkaindl <43588962+bernhardkaindl@users.noreply.github.com>2021-09-24 16:02:09 +0200
committerGitHub <noreply@github.com>2021-09-24 08:02:09 -0600
commitbcf708098de5db0890020cc786f7290ea99377b4 (patch)
tree96cf86af90cd5b93a384c8614f4c1d6f7bde6bed
parent71378bcf3964ce48be20999cb38e3e7091c39fdd (diff)
downloadspack-bcf708098de5db0890020cc786f7290ea99377b4.tar.gz
spack-bcf708098de5db0890020cc786f7290ea99377b4.tar.bz2
spack-bcf708098de5db0890020cc786f7290ea99377b4.tar.xz
spack-bcf708098de5db0890020cc786f7290ea99377b4.zip
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>
-rw-r--r--var/spack/repos/builtin/packages/kmod/package.py6
1 files changed, 4 insertions, 2 deletions
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