summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2017-03-11 22:04:18 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2017-03-11 21:04:18 -0600
commit9a14597493c4e7d5b85a07173e7711c6892de421 (patch)
treef3b4eb8e5c172c3ca04ebb32949160e17c2e6809 /var
parent02db630985aed5609f36686b349c76fc7fd9b346 (diff)
downloadspack-9a14597493c4e7d5b85a07173e7711c6892de421.tar.gz
spack-9a14597493c4e7d5b85a07173e7711c6892de421.tar.bz2
spack-9a14597493c4e7d5b85a07173e7711c6892de421.tar.xz
spack-9a14597493c4e7d5b85a07173e7711c6892de421.zip
autoconf: Correct m4 dependency declaration (#3415)
* autoconf: Correct m4 dependency declaration Closes #3406. * autoconf: Correct m4 dependency type * autoconf: Update comment
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/autoconf/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/autoconf/package.py b/var/spack/repos/builtin/packages/autoconf/package.py
index 3dcf8f36b5..694622fe80 100644
--- a/var/spack/repos/builtin/packages/autoconf/package.py
+++ b/var/spack/repos/builtin/packages/autoconf/package.py
@@ -36,7 +36,9 @@ class Autoconf(AutotoolsPackage):
version('2.59', 'd4d45eaa1769d45e59dcb131a4af17a0')
version('2.13', '9de56d4a161a723228220b0f425dc711')
- depends_on('m4@1.4.6:', type='build')
+ # Note: m4 is not a pure build-time dependency of autoconf. m4 is
+ # needed when autoconf runs, not only when autoconf is built.
+ depends_on('m4@1.4.6:', type=('build', 'run'))
build_directory = 'spack-build'