tags 640613 patch thanks As same as other invalid JAVA_HOME bugs, I've made a patch for it. Please check it, thanks.
-- Regards, Hideki Yamane henrich @ debian.or.jp/org http://wiki.debian.org/HidekiYamane
diff -u jaminid-0.99a/debian/changelog jaminid-0.99a/debian/changelog --- jaminid-0.99a/debian/changelog +++ jaminid-0.99a/debian/changelog @@ -1,3 +1,11 @@ +jaminid (0.99a-1.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/rules + - adjust JAVA_HOME for each architecture (Closes: #640613) + + -- Hideki Yamane <henr...@debian.org> Mon, 02 Jan 2012 13:00:11 +0900 + jaminid (0.99a-1) unstable; urgency=low * Initial release. (Closes: #533883) diff -u jaminid-0.99a/debian/rules jaminid-0.99a/debian/rules --- jaminid-0.99a/debian/rules +++ jaminid-0.99a/debian/rules @@ -6,8 +6,9 @@ DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ') DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-) DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//') +DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH) -export JAVA_HOME=/usr/lib/jvm/java-6-openjdk +export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-$(DEB_BUILD_ARCH) build: build-arch-stamp build-indep-stamp build-arch: build-arch-stamp