]> git.pld-linux.org Git - packages/antlr.git/commitdiff
- do not use gcc-java by default. GIJ doesn't work well
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 21 May 2006 15:27:10 +0000 (15:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    antlr.spec -> 1.23.2.4

antlr.spec

index f57d0981024578792d7cc1f2efe7ba65953ec7e6..581d3fcda296c486e753b0f5d087249ae6105700 100644 (file)
@@ -4,7 +4,7 @@
 #  *  Package the Emacs an Jedit modes
 #
 # Conditional build:
-%bcond_with    javac   # use javac/java instead of gcj/gij (limits archs supported)
+%bcond_with    gcc_java        # use gcj/gij instead of javac/java
 #
 Summary:       ANother Tool for Language Recognition
 Summary(pl):   Jeszcze jedno narzêdzie do rozpoznawania jêzyka
@@ -20,7 +20,7 @@ URL:          http://www.antlr.org/
 BuildRequires: automake
 BuildRequires: libstdc++-devel
 BuildRequires: python
-%if !%{with javac}
+%if %{with gcc_java}
 BuildRequires: gcc-java
 BuildRequires: jar
 # gij is in gcc-java in Ac
@@ -29,6 +29,7 @@ Requires:     gcc-java
 BuildRequires: jar
 BuildRequires: jdk
 Requires:      jre
+ExclusiveArch: i586 i686 pentium3 pentium4 athlon %{x8664}
 %endif
 Conflicts:     pccts < 1.33MR33-6
 BuildRequires: sed >= 4.0
@@ -73,9 +74,9 @@ unset JAVA_HOME || :
 cp -f /usr/share/automake/config.sub scripts
 
 %configure \
-       %{?with_javac:CLASSPATH=`pwd` --with-javac=javac} \
-       %{!?with_javac:--with-javac=gcj} \
-       %{!?with_javac:--with-java=gij} \
+       %{?!with_gcc_java:CLASSPATH=`pwd` --with-javac=javac} \
+       %{?without_gcc_java:--with-javac=gcj} \
+       %{?without_gcc_java:--with-java=gij} \
        --disable-csharp
 
 %{__make}
This page took 0.08552 seconds and 4 git commands to generate.