------------------------------------------------------------
revno: 1142
committer: Rene Engelhard <[EMAIL PROTECTED]>
branch nick: debian
timestamp: Thu 2008-07-03 05:11:47 +0200
message:
  add gcj-4.3 builddep for armel only only when needed
modified:
  rules
=== modified file 'rules'
--- a/rules     2008-07-02 20:14:21 +0000
+++ b/rules     2008-07-03 03:11:47 +0000
@@ -492,7 +492,9 @@
 
 ifeq "$(ENABLE_JAVA)" "y"
        JAVA_HOME=/usr/lib/jvm/java-gcj
+  ifneq (,$(findstring armel,$(OOO_JAVA_ARCHS)))
        BUILD_DEPS += , gcj-4.3 (>= 4.3.1-2) [armel]
+  endif
        CONFIGURE_FLAGS += --enable-gcjaot
   ifeq "$(BUILD_JARS_NATIVE)" "y"
     ifneq "$(ETCH_BACKPORT)" "y"

Reply via email to