summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/opal/files/opal-3.6.4-jdkroot.patch')
-rw-r--r--net-libs/opal/files/opal-3.6.4-jdkroot.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-libs/opal/files/opal-3.6.4-jdkroot.patch b/net-libs/opal/files/opal-3.6.4-jdkroot.patch
new file mode 100644
index 0000000..480a0ee
--- /dev/null
+++ b/net-libs/opal/files/opal-3.6.4-jdkroot.patch
@@ -0,0 +1,15 @@
+Index: opal.m4
+===================================================================
+--- opal.m4 (revision 22933)
++++ opal.m4 (working copy)
+@@ -996,6 +996,10 @@
+ AC_CHECK_HEADERS([jni.h], [opal_java=yes])
+
+ if test "x$opal_java" = "xno" ; then
++ if test "x${JDK_ROOT}" = "x" ; then
++ JDK_ROOT=${JDK_HOME}
++ fi
++
+ if test "x${JDK_ROOT}" != "x" ; then
+ AC_CHECK_FILE([${JDK_ROOT}/include/jni.h],
+ [