Bug#274850: libtoolbar-java 0.2 builds on amd64
Kaare Hviid
Kaare Hviid <ukh@id.cbs.dk>, 274850@bugs.debian.org
Mon Oct 4 05:45:07 2004
Package: libtoolbar-java
Version: 0.2-2
Severity: wishlist
This fast fix will libtoolbar-java 0.2 to build on amd64:
diff -Naur libtoolbar-java-0.2/debian/rules libtoolbar-java-0.2.fixed/debian/rules
--- libtoolbar-java-0.2/debian/rules 2004-10-04 13:17:51.074004309 +0200
+++ libtoolbar-java-0.2.fixed/debian/rules 2004-10-04 13:17:26.405401537 +0200
@@ -6,7 +6,11 @@
#export DH_VERBOSE=1
#JAVA_HOME=/usr/lib/j2se/1.4
-JAVA_HOME=/usr/lib/j2se/1.3
+ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), amd64))
+ JAVA_HOME=/usr/lib/j2sdk1.4-blackdown
+else
+ JAVA_HOME=/usr/lib/j2se/1.3
+endif
JAVAC=$(JAVA_HOME)/bin/javac
CP=/usr/share/java/toolbutton.jar
JAR=$(JAVA_HOME)/bin/jar
--
Kåre Hviid ukh@id.cbs.dk +45 3815 3075
Sys Admin Institut for Datalingvistik, Handelshøjskolen i København