tags 642754 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 morfologik-stemming-1.2.2/debian/rules morfologik-stemming-1.2.2/debian/rules
--- morfologik-stemming-1.2.2/debian/rules
+++ morfologik-stemming-1.2.2/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 := commons-cli junit4
 DEB_INSTALL_CHANGELOGS_ALL := CHANGES
 
diff -u morfologik-stemming-1.2.2/debian/changelog morfologik-stemming-1.2.2/debian/changelog
--- morfologik-stemming-1.2.2/debian/changelog
+++ morfologik-stemming-1.2.2/debian/changelog
@@ -1,3 +1,11 @@
+morfologik-stemming (1.2.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules
+    - adjust JAVA_HOME for each architecture (Closes: #642754)
+
+ -- Hideki Yamane <henr...@debian.org>  Sun, 01 Jan 2012 22:16:31 +0900
+
 morfologik-stemming (1.2.2-1) unstable; urgency=low
 
   * Initial release. (Closes: #533882)

Reply via email to