Minor tweaks to m4 -- be sure to add sigsegv args explicitly.
This commit is contained in:
parent
07255da6e9
commit
7d847f4dc4
@ -12,6 +12,12 @@ class M4(Package):
|
||||
depends_on('libsigsegv', when='+sigsegv')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix)
|
||||
configure_args = []
|
||||
if 'libsigsegv' in spec:
|
||||
configure_args.append('--with-libsigsegv-prefix=%s' % spec['libsigsegv'].prefix)
|
||||
else:
|
||||
configure_args.append('--without-libsigsegv-prefix')
|
||||
|
||||
configure("--prefix=%s" % prefix, *configure_args)
|
||||
make()
|
||||
make("install")
|
||||
|
Loading…
Reference in New Issue
Block a user