Bug#682411: worldwind: FTBFS in sid

Ralf Treinen treinen at free.fr
Sat Jul 28 03:49:45 UTC 2012


Patch for the FTBFS:

--- worldwind-0.5.0/debian/rules
+++ worldwind-0.5.0/debian/rules
@@ -6,7 +6,8 @@
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 # This software doesn't compile (at the moment) with gcj
-JAVA_HOME            := /usr/lib/jvm/java-6-openjdk/
+BUILDARCH            ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+JAVA_HOME            =  /usr/lib/jvm/java-6-openjdk-$(BUILDARCH)/
 DEB_JARS             := ant-nodeps jogl gluegen-rt
 DEB_ANT_BUILD_TARGET := build
 DEB_ANT_CLEAN_TARGET := clean.all


-Ralf.



More information about the debian-science-maintainers mailing list