CVS tomcat4/debian
Barry Hawkins
barryh-guest@haydn.debian.org
Fri Apr 1 22:55:04 2005
Update of /cvsroot/pkg-java/tomcat4/debian
In directory haydn:/tmp/cvs-serv29058/debian
Modified Files:
rules
Log Message:
Added Arnaud's architecture-sensitive setting of JITC_PROCESSOR_TYPE for powerpc architecture.
--- /cvsroot/pkg-java/tomcat4/debian/rules 2005/03/18 02:44:26 1.9
+++ /cvsroot/pkg-java/tomcat4/debian/rules 2005/04/01 22:54:45 1.10
@@ -19,10 +19,10 @@
ANT_HOME := /usr/share/ant1.6
# Set the JITC_PROCESSOR_TYPE environment variable to enable JIT
-# appropriately in IBM JDKs on PowerPC architecture. This should
-# ultimately be conditional so as to avoid side effects with other
-# architectures and JDKs.
-#JITC_PROCESSOR_TYPE := 6
+# appropriately in IBM JDKs on PowerPC architecture
+ifeq ($(shell dpkg --print-architecture),powerpc)
+ export JITC_PROCESSOR_TYPE=6;
+endif
# Additional JARs to add to the class path, either full path or just the
# basename for JARs in /usr/share/java. The ".jar" suffix may also be ommitted