summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2021-01-18 12:30:42 +0800
committerGitHub <noreply@github.com>2021-01-17 22:30:42 -0600
commit5b75dde8725ab75c29e6eee1c5e43bca6bf11ff7 (patch)
tree4ef9ba071a854719a1539475a1dffbe69bf9a6c0
parent16ee9dc110eb33cc72bedab93f3a953d039db4a5 (diff)
downloadspack-5b75dde8725ab75c29e6eee1c5e43bca6bf11ff7.tar.gz
spack-5b75dde8725ab75c29e6eee1c5e43bca6bf11ff7.tar.bz2
spack-5b75dde8725ab75c29e6eee1c5e43bca6bf11ff7.tar.xz
spack-5b75dde8725ab75c29e6eee1c5e43bca6bf11ff7.zip
Libconfuse: refine autoreconf and add some dependencies (#21006)
* libconfuse: add some build dependencies * libconfuse: use autogen.sh to do the autoreconf
-rw-r--r--var/spack/repos/builtin/packages/libconfuse/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libconfuse/package.py b/var/spack/repos/builtin/packages/libconfuse/package.py
index d3549d30e7..37ce54150d 100644
--- a/var/spack/repos/builtin/packages/libconfuse/package.py
+++ b/var/spack/repos/builtin/packages/libconfuse/package.py
@@ -19,3 +19,9 @@ class Libconfuse(AutotoolsPackage):
depends_on('autoconf', type='build')
depends_on('automake', type='build')
depends_on('libtool', type='build')
+ depends_on('gettext', type='build')
+ depends_on('flex', type='build')
+
+ def autoreconf(self, spec, prefix):
+ bash = which('bash')
+ bash('./autogen.sh')