Make libsigsegv an optional dependency

This commit is contained in:
Adam J. Stewart 2016-03-05 16:46:32 -06:00
parent a7b918837e
commit 220b6a9fee

View file

@ -7,7 +7,9 @@ class M4(Package):
version('1.4.17', 'a5e9954b1dae036762f7b13673a2cf76') 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): def install(self, spec, prefix):
configure("--prefix=%s" % prefix) configure("--prefix=%s" % prefix)