Fix R build in containers (#30055)

R needs which as a build dependency, but it may not be provided in a
minimal container.

Co-authored-by: Robert Underwood <runderwood@anl.gov>
This commit is contained in:
Robert Underwood 2022-04-15 00:06:15 -04:00 committed by GitHub
parent 015046cb97
commit 0e0c438dd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,7 @@ class R(AutotoolsPackage):
depends_on('pcre2', when='@4:')
depends_on('readline')
depends_on('xz')
depends_on('which', type=('build', 'run'))
depends_on('zlib@1.2.5:')
depends_on('cairo+X+gobject+pdf', when='+X')
depends_on('pango+X', when='+X')