[Pkg-ceph-commits] [ceph] 08/16: rules: set JAVAC to prevent FTBFS due to incorrect use of 'gcj' when found (see "m4/ac_prog_javac.m4").

Dmitry Smirnov onlyjob at moszumanska.debian.org
Tue Mar 25 02:13:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

onlyjob pushed a commit to branch experimental
in repository ceph.

commit 75123b0
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Mon Mar 24 17:11:37 2014

    rules: set JAVAC to prevent FTBFS due to incorrect use of 'gcj' when found (see "m4/ac_prog_javac.m4").
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 1bf6ba9..29a7e96 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,10 @@ include /usr/share/dpkg/buildflags.mk
 
 export DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
+export JAVA_HOME=/usr/lib/jvm/default-java
+## Set JAVAC to prevent FTBFS due to incorrect use of 'gcj' if found (see "m4/ac_prog_javac.m4").
+export JAVAC=javac
+
 extraopts += --disable-silent-rules
 extraopts += --with-ocf --with-rest-bench --with-nss
 extraopts += --with-debug

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-ceph/ceph.git



More information about the Pkg-ceph-commits mailing list