breseq: fix dependency and limit compiler version. (#13013)

This commit is contained in:
Toyohisa Kameyama 2019-10-03 01:56:37 +09:00 committed by Adam J. Stewart
parent a3a0e1cd2e
commit d238b9d394

View file

@ -22,11 +22,14 @@ class Breseq(AutotoolsPackage):
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
depends_on('zlib', type='build')
depends_on('zlib', type='link')
depends_on('bedtools2', type='run')
depends_on('r', type='run')
conflicts('%gcc@:4.8')
conflicts('%clang@:3.3')
def setup_environment(self, spack_env, run_env):
spack_env.set('LDFLAGS',
"-L{0}".format(self.spec['zlib'].prefix.lib))