summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-26 09:28:39 +0100
committerSam James <sam@gentoo.org>2023-05-26 09:28:39 +0100
commite29fbf4185a75112be51b4e8989b2d85aa0dd2bc (patch)
tree9fe496f8ec8cd1e23c4cb436df74f69ba1bc35d1 /sci-libs
parentsci-libs/gdal: fix the build of the Java bindings (diff)
downloadgentoo-e29fbf4185a75112be51b4e8989b2d85aa0dd2bc.tar.gz
gentoo-e29fbf4185a75112be51b4e8989b2d85aa0dd2bc.tar.bz2
gentoo-e29fbf4185a75112be51b4e8989b2d85aa0dd2bc.zip
sci-libs/gdal: simplify with usev
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/gdal/gdal-3.7.0.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/gdal/gdal-3.7.0.ebuild b/sci-libs/gdal/gdal-3.7.0.ebuild
index 81842eb4e7bf..8e85dac1b17e 100644
--- a/sci-libs/gdal/gdal-3.7.0.ebuild
+++ b/sci-libs/gdal/gdal-3.7.0.ebuild
@@ -212,9 +212,9 @@ src_configure() {
# Bindings
-DBUILD_PYTHON_BINDINGS=$(usex python)
-DBUILD_JAVA_BINDINGS=$(usex java)
- $(usex java -DJAVA_AWT_LIBRARY=/etc/java-config-2/current-system-vm/lib '')
- $(usex java -DJAVA_JVM_LIBRARY=/etc/java-config-2/current-system-vm/lib '')
- $(usex java -DJAVA_INCLUDE_PATH=/etc/java-config-2/current-system-vm/include '')
+ $(usev java -DJAVA_AWT_LIBRARY=/etc/java-config-2/current-system-vm/lib)
+ $(usev java -DJAVA_JVM_LIBRARY=/etc/java-config-2/current-system-vm/lib)
+ $(usev java -DJAVA_INCLUDE_PATH=/etc/java-config-2/current-system-vm/include)
# bug #845369
-DBUILD_CSHARP_BINDINGS=OFF