GDAL: fix build of Java bindings (#26244)
This commit is contained in:
parent
7e67652983
commit
b8e21f2b0b
1 changed files with 4 additions and 2 deletions
|
@ -158,7 +158,10 @@ class Gdal(AutotoolsPackage):
|
||||||
# swig/python/setup.py
|
# swig/python/setup.py
|
||||||
depends_on('py-setuptools', type='build', when='+python')
|
depends_on('py-setuptools', type='build', when='+python')
|
||||||
depends_on('py-numpy@1.0.0:', type=('build', 'run'), when='+python')
|
depends_on('py-numpy@1.0.0:', type=('build', 'run'), when='+python')
|
||||||
depends_on('java@4:8', type=('build', 'link', 'run'), when='+java')
|
depends_on('java@7:', type=('build', 'link', 'run'), when='@3.2:+java')
|
||||||
|
depends_on('java@6:', type=('build', 'link', 'run'), when='@2.4:+java')
|
||||||
|
depends_on('java@5:', type=('build', 'link', 'run'), when='@2.1:+java')
|
||||||
|
depends_on('java@4:', type=('build', 'link', 'run'), when='@:2.0+java')
|
||||||
depends_on('ant', type='build', when='+java')
|
depends_on('ant', type='build', when='+java')
|
||||||
depends_on('swig', type='build', when='+java')
|
depends_on('swig', type='build', when='+java')
|
||||||
depends_on('jackcess@1.2.0:1.2.999', type='run', when='+mdb')
|
depends_on('jackcess@1.2.0:1.2.999', type='run', when='+mdb')
|
||||||
|
@ -562,7 +565,6 @@ def configure_args(self):
|
||||||
if spec.satisfies('@2.1:'):
|
if spec.satisfies('@2.1:'):
|
||||||
args.extend([
|
args.extend([
|
||||||
'--with-mongocxx=no',
|
'--with-mongocxx=no',
|
||||||
'--with-gnm=no',
|
|
||||||
'--with-pdfium=no',
|
'--with-pdfium=no',
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue