From ba6739d1234eaa68aaa029254a3c948f61e526e1 Mon Sep 17 00:00:00 2001 From: Leon Ho Date: Sep 30 2004 08:19:51 +0000 Subject: use JAVAC to use gcj --- diff --git a/gettext.spec b/gettext.spec index 3d445ab..469efb7 100644 --- a/gettext.spec +++ b/gettext.spec @@ -11,7 +11,6 @@ URL: http://www.gnu.org/software/gettext/ Source1: po-mode-init.el Source2: msghack.py Patch0: gettext-0.14.1-amd64-libtool.patch -Patch1: gettext-0.14.1-java-gcjonly.patch Prereq: /sbin/install-info %ifarch x86_64 ppc64 s390x BuildRequires: automake >= 1.8, autoconf >= 2.5 @@ -51,7 +50,6 @@ rm -rf %{buildroot} %ifarch x86_64 ppc64 s390x %patch0 -p1 -b .x86_64 %endif -%patch1 -p1 -b .java %build [ -f /usr/share/automake/depcomp ] && cp -f /usr/share/automake/{depcomp,ylwrap} . || : @@ -74,6 +72,7 @@ automake autoconf popd +export JAVAC='gcj -C' %configure --without-included-gettext --enable-nls \ --enable-shared --with-pic-=yes make