source-highlight: fix detection of boost (#16102)

Co-Authored-By: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Servesh 2020-04-22 04:43:02 -05:00 committed by GitHub
parent ab35780fae
commit 3e9af610e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,3 +19,7 @@ class SourceHighlight(AutotoolsPackage, GNUMirrorPackage):
version('3.1.8', sha256='01336a7ea1d1ccc374201f7b81ffa94d0aecb33afc7d6903ebf9fbf33a55ada3')
depends_on('boost')
def configure_args(self):
args = ["--with-boost={0}".format(self.spec['boost'].prefix)]
return args