[Lunar-commits] <moonbase-other> proj-4: fix build with java

v4hn me at v4hn.de
Mon Dec 3 17:52:52 CET 2012


commit 2a8aae2506606477553854268dac08b1009e0bba
Author: v4hn <me at v4hn.de>
Date: Mon, 03 Dec 2012 08:52:52 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/2a8aae2506606477553854268dac08b1009e0bba

proj-4: fix build with java
---
  science/proj-4/BUILD | +1/-0     
  1 file changed, 1 insertion(+)

--- a/science/proj-4/BUILD
+++ b/science/proj-4/BUILD
@@ -3,6 +3,7 @@
   if module_installed $MODULE %JAVA_SDK ; then 
      CFLAGS+=" -I/usr/java/latest/include/linux" &&
      OPTS+=" --with-jni=/usr/java/latest/include/" &&
+     sedit "s/#include \"org_proj4_.*\"/#include \"org_proj4_Projections.h\"/" src/jniproj.c &&
      default_build &&
      cd jniwrap &&
      ant &&




More information about the Lunar-commits mailing list