netcdf-fortran: add compat bound for netcdf-c (#30358)

This commit is contained in:
Harmen Stoppels 2022-04-29 11:16:51 +02:00 committed by GitHub
parent f40780310b
commit dbe2c44a25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ class NetcdfFortran(AutotoolsPackage):
variant('doc', default=False, description='Enable building docs')
depends_on('netcdf-c')
depends_on('netcdf-c@4.7.4:', when='@4.5.3:') # nc_def_var_szip required
depends_on('doxygen', when='+doc', type='build')
# The default libtool.m4 is too old to handle NAG compiler properly: