aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/quantis/files/patch-CMake_FindJNI.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/security/quantis/files/patch-CMake_FindJNI.cmake b/security/quantis/files/patch-CMake_FindJNI.cmake
new file mode 100644
index 000000000000..96b2d29c913d
--- /dev/null
+++ b/security/quantis/files/patch-CMake_FindJNI.cmake
@@ -0,0 +1,18 @@
+--- CMake/FindJNI.cmake.orig 2010-06-29 07:44:57 UTC
++++ CMake/FindJNI.cmake
+@@ -98,6 +98,7 @@ JAVA_APPEND_LIBRARY_DIRECTORIES(JAVA_AWT
+ /usr/lib/jvm/default-java/jre/lib
+ /usr/lib/jvm/default-java/lib
+ # FreeBSD specific paths for default JVM
++ /usr/local/openjdk8/jre/lib/{libarch}
+ /usr/local/openjdk7/jre/lib/{libarch}
+ /usr/local/openjdk6/jre/lib/{libarch}
+ /usr/local/diablo-jdk1.6.0/jre/lib/{libarch}
+@@ -138,6 +139,7 @@ SET(JAVA_AWT_INCLUDE_DIRECTORIES
+ # Debian specific path for default JVM
+ /usr/lib/jvm/default-java/include
+ # FreeBSD specific path for default JVM
++ /usr/local/openjdk8/include
+ /usr/local/openjdk7/include
+ /usr/local/openjdk6/include
+ /usr/local/diablo-jdk1.6.0/include