LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File collectd-javac_target.patch of Package collectd (Project server:monitoring)

--- bindings/java/Makefile.in.orig	2010-07-12 20:27:41.000000000 +0200
+++ bindings/java/Makefile.in	2010-07-12 20:28:09.000000000 +0200
@@ -490,8 +490,8 @@
 
 
 java-build-stamp: org/collectd/api/*.java org/collectd/java/*.java
-	$(JAVAC) -d "." "$(srcdir)/org/collectd/api"/*.java
-	$(JAVAC) -d "." "$(srcdir)/org/collectd/java"/*.java
+	$(JAVAC) $(JAVAC_TARGET) -d "." "$(srcdir)/org/collectd/api"/*.java
+	$(JAVAC) $(JAVAC_TARGET) -d "." "$(srcdir)/org/collectd/java"/*.java
 	mkdir -p .libs
 	$(JAR) cf .libs/collectd-api.jar "org/collectd/api"/*.class
 	$(JAR) cf .libs/generic-jmx.jar "org/collectd/java"/*.class
--- bindings/java/Makefile.am.orig	2010-07-12 20:26:48.000000000 +0200
+++ bindings/java/Makefile.am	2010-07-12 20:27:35.000000000 +0200
@@ -25,8 +25,8 @@
 	     org/collectd/java/JMXMemory.java
 
 java-build-stamp: org/collectd/api/*.java org/collectd/java/*.java
-	$(JAVAC) -d "." "$(srcdir)/org/collectd/api"/*.java
-	$(JAVAC) -d "." "$(srcdir)/org/collectd/java"/*.java
+	$(JAVAC) $(JAVAC_TARGET) -d "." "$(srcdir)/org/collectd/api"/*.java
+	$(JAVAC) $(JAVAC_TARGET) -d "." "$(srcdir)/org/collectd/java"/*.java
 	mkdir -p .libs
 	$(JAR) cf .libs/collectd-api.jar "org/collectd/api"/*.class
 	$(JAR) cf .libs/generic-jmx.jar "org/collectd/java"/*.class