tags 642791 patch
thanks

Hi,

 I've made a patch for fix FTBFS by adjusting JAVA_HOME path.
 Please check it, thanks.

-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane
diff -u jwordsplitter-3.0/debian/rules jwordsplitter-3.0/debian/rules
--- jwordsplitter-3.0/debian/rules
+++ jwordsplitter-3.0/debian/rules
@@ -3,7 +3,9 @@
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-JAVA_HOME := /usr/lib/jvm/java-6-openjdk
+DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+JAVA_HOME := /usr/lib/jvm/java-6-openjdk-$(DEB_BUILD_ARCH)
 DEB_JARS := junit ant-junit
 DEB_ANT_BUILD_TARGET := test build
 DEB_INSTALL_CHANGELOGS_ALL := CHANGES.txt
diff -u jwordsplitter-3.0/debian/changelog jwordsplitter-3.0/debian/changelog
--- jwordsplitter-3.0/debian/changelog
+++ jwordsplitter-3.0/debian/changelog
@@ -1,3 +1,11 @@
+jwordsplitter (3.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules
+    - adjust JAVA_HOME for each architecture (Closes: #642791)
+
+ -- Hideki Yamane <henr...@debian.org>  Sun, 01 Jan 2012 23:04:04 +0900
+
 jwordsplitter (3.0-1) unstable; urgency=low
 
   * Initial release. (Closes: #533743)

Reply via email to