diff --git a/var/spack/repos/builtin/packages/hunspell/package.py b/var/spack/repos/builtin/packages/hunspell/package.py index 9a524d592c..8ce6458b63 100644 --- a/var/spack/repos/builtin/packages/hunspell/package.py +++ b/var/spack/repos/builtin/packages/hunspell/package.py @@ -12,9 +12,17 @@ class Hunspell(AutotoolsPackage): homepage = "http://hunspell.github.io/" url = "https://github.com/hunspell/hunspell/archive/v1.6.0.tar.gz" + version('1.7.0', sha256='57be4e03ae9dd62c3471f667a0d81a14513e314d4d92081292b90435944ff951') version('1.6.0', '047c3feb121261b76dc16cdb62f54483') depends_on('autoconf', type='build') depends_on('automake', type='build') depends_on('libtool', type='build') depends_on('m4', type='build') + depends_on('gettext') + + # TODO: If https://github.com/spack/spack/pull/12344 is merged, this + # method is unnecessary. + def autoreconf(self, spec, prefix): + autoreconf = which('autoreconf') + autoreconf('-fiv')