pkgconfig: add conflict for PGI (#18236)

This commit is contained in:
Adam J. Stewart 2020-08-25 04:33:36 -05:00 committed by GitHub
parent 9b07669ab3
commit b305990ee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,9 @@ class PkgConfig(AutotoolsPackage):
# The following patch is needed for gcc-6.1
patch('g_date_strftime.patch', when='@:0.29.1')
# https://github.com/spack/spack/issues/3525
conflicts('%pgi')
parallel = False
executables = ['^pkg-config$']

View File

@ -31,6 +31,9 @@ class Pkgconf(AutotoolsPackage):
# TODO: Add a package for the kyua testing framework
# depends_on('kyua', type='test')
# https://github.com/spack/spack/issues/3525
conflicts('%pgi')
executables = ['^pkgconf$', '^pkg-config$']
@classmethod