opnsense-ports/textproc/zorba/files/patch-test-rbkt-modules-java_CMakeLists.txt
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

16 lines
615 B
Text

--- test/rbkt/modules/java/CMakeLists.txt.orig 2012-09-25 09:26:34.000000000 +0200
+++ test/rbkt/modules/java/CMakeLists.txt 2012-09-25 09:27:23.000000000 +0200
@@ -16,6 +16,8 @@
# on the JVM claspath. This test scenario should be extended to include a
# Zorba module using the .jar, etc.
# We make use of the much-improved Java support added in CMake 2.8.6.
+
+IF (WITH_JAVA)
COMPARE_VERSION_STRINGS (${CMAKE_VERSION} "2.8.6" RESULT)
IF (${RESULT} GREATER -1)
FIND_PACKAGE (Java COMPONENTS Development)
@@ -34,3 +36,4 @@
ENDIF (Java_Development_FOUND)
ENDIF (${RESULT} GREATER -1)
+ENDIF (WITH_JAVA)