Make libsigsegv an optional dependency
This commit is contained in:
parent
a7b918837e
commit
220b6a9fee
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue