use JAVAC to use gcj

This commit is contained in:
Leon Ho 2004-09-30 08:19:51 +00:00
parent a313d60d9e
commit ba6739d123
1 changed files with 1 additions and 2 deletions

View File

@ -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