diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2016-03-05 16:46:32 -0600 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2016-03-05 16:46:32 -0600 |
commit | 220b6a9fee0f307d4de1e48b29093812f7dd10ec (patch) | |
tree | 1e8ff91193046896f001585ffbed52c8a50a88b3 | |
parent | a7b918837eab02ebff5af783d06e56ec7f868d9e (diff) | |
download | spack-220b6a9fee0f307d4de1e48b29093812f7dd10ec.tar.gz spack-220b6a9fee0f307d4de1e48b29093812f7dd10ec.tar.bz2 spack-220b6a9fee0f307d4de1e48b29093812f7dd10ec.tar.xz spack-220b6a9fee0f307d4de1e48b29093812f7dd10ec.zip |
Make libsigsegv an optional dependency
-rw-r--r-- | var/spack/repos/builtin/packages/m4/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/m4/package.py b/var/spack/repos/builtin/packages/m4/package.py index 3890663ad1..9d522dfccf 100644 --- a/var/spack/repos/builtin/packages/m4/package.py +++ b/var/spack/repos/builtin/packages/m4/package.py @@ -7,7 +7,9 @@ class M4(Package): version('1.4.17', 'a5e9954b1dae036762f7b13673a2cf76') - depends_on('libsigsegv') + variant('sigsegv', default=True, description="Build the libsigsegv dependency") + + depends_on('libsigsegv', when='+sigsegv') def install(self, spec, prefix): configure("--prefix=%s" % prefix) |