Introduce virtual dependency pkgconfig (#5198)

There are two providers, pkgconf and pkg-config, with the former being
the default provider.
This commit is contained in:
Michael Kuhn
2017-11-23 16:05:38 +01:00
committed by Christoph Junghans
parent 7f0659f032
commit 5bbbfe9446
299 changed files with 304 additions and 298 deletions

View File

@@ -221,10 +221,10 @@ def autoreconf(self, spec, prefix):
# This line is what is needed most of the time
# --install, --verbose, --force
autoreconf_args = ['-ivf']
if 'pkg-config' in spec:
if 'pkgconfig' in spec:
autoreconf_args += [
'-I',
join_path(spec['pkg-config'].prefix, 'share', 'aclocal'),
join_path(spec['pkgconfig'].prefix, 'share', 'aclocal'),
]
autoreconf_args += self.autoreconf_extra_args
m.autoreconf(*autoreconf_args)