From 1070f871662ac888cbe769ea3f1e2337f3652e1b Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Tue, 30 May 2023 04:37:14 +0100 Subject: sci-libs/gdal: move jdk dependency from BDEPEND to BDEPEND Closes: https://bugs.gentoo.org/857816 Signed-off-by: Volkmar W. Pogatzki Signed-off-by: Sam James --- sci-libs/gdal/gdal-3.7.0.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sci-libs/gdal') diff --git a/sci-libs/gdal/gdal-3.7.0.ebuild b/sci-libs/gdal/gdal-3.7.0.ebuild index 8e85dac1b17e..7c62bbd95436 100644 --- a/sci-libs/gdal/gdal-3.7.0.ebuild +++ b/sci-libs/gdal/gdal-3.7.0.ebuild @@ -29,7 +29,6 @@ BDEPEND=" java? ( dev-java/ant-core dev-lang/swig - >=virtual/jdk-1.8:* ) python? ( dev-lang/swig @@ -60,6 +59,9 @@ DEPEND=" gml? ( >=dev-libs/xerces-c-3.1 ) heif? ( media-libs/libheif:= ) hdf5? ( >=sci-libs/hdf5-1.6.4:=[cxx,szip] ) + java? ( + >=virtual/jdk-1.8:* + ) jpeg? ( media-libs/libjpeg-turbo:= ) jpeg2k? ( media-libs/openjpeg:2= ) lzma? ( || ( @@ -212,9 +214,6 @@ src_configure() { # Bindings -DBUILD_PYTHON_BINDINGS=$(usex python) -DBUILD_JAVA_BINDINGS=$(usex java) - $(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 -- cgit v1.2.3-65-gdbad