openbsd-ports/devel/cmake/patches/patch-Modules_UseJava_cmake
dcoppa 57eaee2ae8 Update to cmake-2.8.6
Fixed FindRuby.cmake module (from Vadim Zhukov)

Fixed FindJava.cmake and FindJNI.cmake modules when cmake is used
outside of our ports tree (problem reported and fix tested by
pirofti@)

Still "100% tests passed, 0 tests failed out of 197".

No fallout in a bulk build.

OK jasper@
2011-10-14 17:22:10 +00:00

13 lines
427 B
Plaintext

$OpenBSD: patch-Modules_UseJava_cmake,v 1.1 2011/10/14 17:22:10 dcoppa Exp $
--- Modules/UseJava.cmake.orig Fri Oct 7 11:27:56 2011
+++ Modules/UseJava.cmake Fri Oct 7 11:28:32 2011
@@ -445,7 +445,7 @@ function (find_jar VARIABLE)
set(_jar_versions)
set(_jar_paths
/usr/share/java/
- /usr/local/share/java/
+ ${LOCALBASE}/share/java/
${Java_JAR_PATHS})
set(_jar_doc "NOTSET")