[packages/gdal] - use macro in jvm lib dir

baggins baggins at pld-linux.org
Sat Mar 7 15:48:59 CET 2015


commit fffcf251a13b2009311c966e51ac681f74423ced
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Mar 7 14:48:42 2015 +0000

    - use macro in jvm lib dir

 gdal.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdal.spec b/gdal.spec
index c515072..361fa41 100644
--- a/gdal.spec
+++ b/gdal.spec
@@ -349,7 +349,7 @@ jvm_arch=x32
 	--with-hide-internal-symbols \
 	%{?with_java:--with-java=%{java_home}} \
 	--with-liblzma \
-	%{?with_java:--with-mdb --with-jvm-lib-add-rpath --with-jvm-lib=$JAVA_HOME/jre/lib/$jvm_arch/server} \
+	%{?with_java:--with-mdb --with-jvm-lib-add-rpath --with-jvm-lib=%{java_home}/jre/lib/$jvm_arch/server} \
 	%{?with_mysql:--with-mysql} \
 	%{?with_oci:--with-oci --with-oci-include=/usr/include/oracle/client --with-oci-lib=%{_libdir}} \
 	%{?with_opencl:--with-opencl} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gdal.git/commitdiff/fffcf251a13b2009311c966e51ac681f74423ced



More information about the pld-cvs-commit mailing list