[packages/lttng-ust] - fixed build by defining JAVA_HOME instead of just JAVAC

hawk hawk at pld-linux.org
Mon Apr 6 12:25:51 CEST 2015


commit f12ea14908154ef7ee74ca541b137094928df448
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Mon Apr 6 10:25:01 2015 +0000

    - fixed build by defining JAVA_HOME instead of just JAVAC

 lttng-ust.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lttng-ust.spec b/lttng-ust.spec
index d5af948..d49e686 100644
--- a/lttng-ust.spec
+++ b/lttng-ust.spec
@@ -7,7 +7,7 @@ Summary:	LTTng Userspace Tracer
 Summary(pl.UTF-8):	LTTng Userspace Tracer - narzędzia LTTng do śledzenia przestrzeni użytkownika
 Name:		lttng-ust
 Version:	2.6.0
-Release:	3
+Release:	4
 License:	LGPL v2.1 (library), MIT (headers), GPL v2 (programs)
 Group:		Libraries
 Source0:	http://lttng.org/files/lttng-ust/%{name}-%{version}.tar.bz2
@@ -91,7 +91,7 @@ Interfejs JNI do biblioteki LTTng Userspace Tracer.
 %{__automake}
 export CLASSPATH=.:%{_javadir}/log4j.jar
 %configure \
-	%{?with_java:JAVAC="%{javac}"} \
+	%{?with_java:JAVA_HOME="%{java_home}"} \
 	--disable-silent-rules \
 	%{?with_java:--enable-jni-interface --enable-java-agent-all} \
 	%{?with_systemtap:--with-sdt}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lttng-ust.git/commitdiff/f12ea14908154ef7ee74ca541b137094928df448



More information about the pld-cvs-commit mailing list