gpi-2_fix_deps: setup 'gawk' and 'sed' dependencies (#29740)

Strictly, `sed` is a `build` and `run` dependency in all gpi-2
versions, whereas `gawk` is a `run` (`build` and `run`) dependency for
gpi-2 versions greater or equal (less) than 1.4.0
This commit is contained in:
acastanedam 2022-05-04 18:14:21 +02:00 committed by GitHub
parent 6b6147d5a0
commit 4d03a2768e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,9 @@ class Gpi2(AutotoolsPackage):
depends_on('libtool', type='build', when='@1.4.0:')
depends_on('m4', type='build', when='@1.4.0:')
depends_on('gawk', type='run')
depends_on('sed', type=('build', 'run'))
depends_on('gawk', type=('build', 'run'), when='@:1.3.3')
depends_on('gawk', type=('run'), when='@1.4.0:')
depends_on('openssh', type='run')
depends_on('mpi', when='+mpi')