make cfitsio explicitly depend on curl (#12016)

- currently would revert to using system-curl instead, pulling in
  unwanted system dependencies and lib-paths
This commit is contained in:
Reinhard Prix 2019-07-14 21:40:10 +02:00 committed by Adam J. Stewart
parent d7b76df5ac
commit 9e7eae0e2f

View file

@ -22,6 +22,7 @@ class Cfitsio(AutotoolsPackage):
variant('bzip2', default=True, description='Enable bzip2 support') variant('bzip2', default=True, description='Enable bzip2 support')
variant('shared', default=True, description='Build shared libraries') variant('shared', default=True, description='Build shared libraries')
depends_on('curl')
depends_on('bzip2', when='+bzip2') depends_on('bzip2', when='+bzip2')
def url_for_version(self, version): def url_for_version(self, version):