thepeg: fix version condition bug (#27501)

This commit is contained in:
haralmha 2021-11-19 08:56:00 +01:00 committed by GitHub
parent c183111a61
commit 4d1f09c752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ def configure_args(self):
if self.spec.satisfies('@2.0.3:'):
args += ['--with-rivet=' + self.spec['rivet'].prefix]
if self.spec.satisfies('@:2.1'):
if self.spec.satisfies('@2.1.1:'):
args += ['--with-boost=' + self.spec['boost'].prefix]
args += ['CFLAGS=-O2', 'CXXFLAGS=-O2', 'FFLAGS=-O2']