aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2015-10-17 02:17:58 +0800
committerswills <swills@FreeBSD.org>2015-10-17 02:17:58 +0800
commit617cc45c1f10dbe7e00ca86c4e0974f66c41e77c (patch)
treed27e26a0ab4160585d5587d12ff624452f750349 /security
parent8c085eb9f5269559da06dc2cfed8b6ffb4f86b29 (diff)
downloadfreebsd-ports-gnome-617cc45c1f10dbe7e00ca86c4e0974f66c41e77c.tar.gz
freebsd-ports-gnome-617cc45c1f10dbe7e00ca86c4e0974f66c41e77c.tar.zst
freebsd-ports-gnome-617cc45c1f10dbe7e00ca86c4e0974f66c41e77c.zip
security/quantis: fix build with OpenJDK8
PR: 203513 Approved by: maintainer timeout (ale, >2 weeks)
Diffstat (limited to 'security')
-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