Replace pkg-config dependencies with virtual (#8783)
Several packages specified pkg-config as a dependency, which is a specific implementation of the pkgconfig virtual. Most packages do not request a specific implementation. The current concretizer may choose a different implentation of pkgconfig for the nonspecific dependents, which conflicts with the request for pkg-config. This replaces all requests for a specific implementation of pkgconfig with the virtual package as a temporary solution to the issue.
This commit is contained in:
parent
b1c35e1e13
commit
12fb1cdbe5
9 changed files with 14 additions and 14 deletions
|
@ -38,7 +38,7 @@ class Fluxbox(AutotoolsPackage):
|
||||||
|
|
||||||
version('1.3.7', 'd99d7710f9daf793e0246dae5304b595')
|
version('1.3.7', 'd99d7710f9daf793e0246dae5304b595')
|
||||||
|
|
||||||
depends_on('pkg-config', type='build')
|
depends_on('pkgconfig', type='build')
|
||||||
depends_on('freetype')
|
depends_on('freetype')
|
||||||
depends_on('libxrender')
|
depends_on('libxrender')
|
||||||
depends_on('libxext')
|
depends_on('libxext')
|
||||||
|
|
|
@ -93,7 +93,7 @@ class Gdal(AutotoolsPackage):
|
||||||
# GDAL depends on GNUmake on Unix platforms.
|
# GDAL depends on GNUmake on Unix platforms.
|
||||||
# https://trac.osgeo.org/gdal/wiki/BuildingOnUnix
|
# https://trac.osgeo.org/gdal/wiki/BuildingOnUnix
|
||||||
depends_on('gmake', type='build')
|
depends_on('gmake', type='build')
|
||||||
depends_on('pkg-config@0.25:', type='build')
|
depends_on('pkgconfig', type='build')
|
||||||
|
|
||||||
# Required dependencies
|
# Required dependencies
|
||||||
depends_on('libtiff@3.6.0:') # 3.9.0+ needed to pass testsuite
|
depends_on('libtiff@3.6.0:') # 3.9.0+ needed to pass testsuite
|
||||||
|
|
|
@ -134,7 +134,7 @@ class Graphviz(AutotoolsPackage):
|
||||||
depends_on('gtkplus', when='+gtkplus')
|
depends_on('gtkplus', when='+gtkplus')
|
||||||
|
|
||||||
# Build dependencies
|
# Build dependencies
|
||||||
depends_on('pkg-config', type='build')
|
depends_on('pkgconfig', type='build')
|
||||||
# The following are needed when building from git
|
# The following are needed when building from git
|
||||||
depends_on('automake', type='build')
|
depends_on('automake', type='build')
|
||||||
depends_on('autoconf', type='build')
|
depends_on('autoconf', type='build')
|
||||||
|
|
|
@ -36,11 +36,11 @@ class I3(AutotoolsPackage):
|
||||||
|
|
||||||
version('4.14.1', 'bdbb6d7bb5a647c8b7b53ed10de84cc5')
|
version('4.14.1', 'bdbb6d7bb5a647c8b7b53ed10de84cc5')
|
||||||
|
|
||||||
depends_on('autoconf', type='build')
|
depends_on('autoconf', type='build')
|
||||||
depends_on('automake', type='build')
|
depends_on('automake', type='build')
|
||||||
depends_on('libtool', type='build')
|
depends_on('libtool', type='build')
|
||||||
depends_on('m4', type='build')
|
depends_on('m4', type='build')
|
||||||
depends_on('pkg-config', type='build')
|
depends_on('pkgconfig', type='build')
|
||||||
|
|
||||||
depends_on('libev')
|
depends_on('libev')
|
||||||
depends_on('startup-notification')
|
depends_on('startup-notification')
|
||||||
|
|
|
@ -34,7 +34,7 @@ class Mc(AutotoolsPackage):
|
||||||
version('4.8.20', 'dcfc7aa613c62291a0f71f6b698d8267')
|
version('4.8.20', 'dcfc7aa613c62291a0f71f6b698d8267')
|
||||||
|
|
||||||
depends_on('ncurses')
|
depends_on('ncurses')
|
||||||
depends_on('pkg-config', type='build')
|
depends_on('pkgconfig', type='build')
|
||||||
depends_on('glib@2.14:')
|
depends_on('glib@2.14:')
|
||||||
depends_on('libssh2@1.2.5:')
|
depends_on('libssh2@1.2.5:')
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ class Neuron(Package):
|
||||||
depends_on('automake', type='build')
|
depends_on('automake', type='build')
|
||||||
depends_on('autoconf', type='build')
|
depends_on('autoconf', type='build')
|
||||||
depends_on('libtool', type='build')
|
depends_on('libtool', type='build')
|
||||||
depends_on('pkg-config', type='build')
|
depends_on('pkgconfig', type='build')
|
||||||
|
|
||||||
depends_on('mpi', when='+mpi')
|
depends_on('mpi', when='+mpi')
|
||||||
depends_on('python@2.6:', when='+python')
|
depends_on('python@2.6:', when='+python')
|
||||||
|
@ -87,7 +87,7 @@ def get_neuron_archdir(self):
|
||||||
|
|
||||||
def patch(self):
|
def patch(self):
|
||||||
# aclocal need complete include path (especially on os x)
|
# aclocal need complete include path (especially on os x)
|
||||||
pkgconf_inc = '-I %s/share/aclocal/' % (self.spec['pkg-config'].prefix)
|
pkgconf_inc = '-I %s/share/aclocal/' % (self.spec['pkgconfig'].prefix)
|
||||||
libtool_inc = '-I %s/share/aclocal/' % (self.spec['libtool'].prefix)
|
libtool_inc = '-I %s/share/aclocal/' % (self.spec['libtool'].prefix)
|
||||||
newpath = 'aclocal -I m4 %s %s' % (pkgconf_inc, libtool_inc)
|
newpath = 'aclocal -I m4 %s %s' % (pkgconf_inc, libtool_inc)
|
||||||
filter_file(r'aclocal -I m4', r'%s' % newpath, "build.sh")
|
filter_file(r'aclocal -I m4', r'%s' % newpath, "build.sh")
|
||||||
|
|
|
@ -41,7 +41,7 @@ class Pandaseq(AutotoolsPackage):
|
||||||
depends_on('libtool', type=('build', 'link'))
|
depends_on('libtool', type=('build', 'link'))
|
||||||
depends_on('m4', type='build')
|
depends_on('m4', type='build')
|
||||||
depends_on('zlib', type='build')
|
depends_on('zlib', type='build')
|
||||||
depends_on('pkg-config', type='build')
|
depends_on('pkgconfig', type='build')
|
||||||
depends_on('bzip2', type='link')
|
depends_on('bzip2', type='link')
|
||||||
|
|
||||||
def autoreconf(self, spec, prefix):
|
def autoreconf(self, spec, prefix):
|
||||||
|
|
|
@ -33,4 +33,4 @@ class PerlExtutilsPkgconfig(PerlPackage):
|
||||||
|
|
||||||
version('1.16', 'b86318f2b6ac6af3ee985299e1e38fe5')
|
version('1.16', 'b86318f2b6ac6af3ee985299e1e38fe5')
|
||||||
|
|
||||||
depends_on('pkg-config', type=('build', 'run'))
|
depends_on('pkgconfig', type=('build', 'run'))
|
||||||
|
|
|
@ -55,7 +55,7 @@ class Wireshark(CMakePackage):
|
||||||
depends_on('libpcap')
|
depends_on('libpcap')
|
||||||
depends_on('lua@5.0.0:5.2.99')
|
depends_on('lua@5.0.0:5.2.99')
|
||||||
depends_on('krb5')
|
depends_on('krb5')
|
||||||
depends_on('pkg-config', type='build')
|
depends_on('pkgconfig', type='build')
|
||||||
depends_on('libsmi', when='+smi')
|
depends_on('libsmi', when='+smi')
|
||||||
depends_on('libssh', when='+libssh')
|
depends_on('libssh', when='+libssh')
|
||||||
depends_on('nghttp2', when='+nghttp2')
|
depends_on('nghttp2', when='+nghttp2')
|
||||||
|
|
Loading…
Reference in a new issue