Package: gettext
Version: 0.17-10
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd


Hi,

the gettext package switched from jikes-classpath to openjdk-6-jdk
in 0.17-7, it leaded to FTBFS on non openjdk archs,
the building of java part have been disabled on them in 0.17-10.

But the proper solution is to use default-jdk, which depends on appropriate arch specific java package, currently openjdk and gcj.

Please enable java on all architectures, build tested on kfreebsd-amd64.

Petr


--- gettext-0.17//debian/control
+++ gettext-0.17//debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Santiago Vila <sanv...@debian.org>
 Standards-Version: 3.8.4
-Build-Depends: libexpat1-dev, fastjar, openjdk-6-jdk [!hppa !hurd-i386 
!kfreebsd-amd64 !kfreebsd-i386], file, libncurses5-dev, libxml2-dev, 
libglib2.0-dev, libcroco3-dev
+Build-Depends: libexpat1-dev, fastjar, default-jdk, file, libncurses5-dev, 
libxml2-dev, libglib2.0-dev, libcroco3-dev
 Homepage: http://www.gnu.org/software/gettext/

 Package: gettext-base


--- gettext-0.17//debian/rules
+++ gettext-0.17//debian/rules
@@ -31,14 +31,14 @@
 #   CSHARP = --enable-csharp=mono
 # endif

-NOJAVA_ARCHS = %hppa%hurd-i386%kfreebsd-amd64%kfreebsd-i386%
+NOJAVA_ARCHS = %none%

 build:
        cd debian && $(CC) glibc-test.c
        debian/a.out
        ./configure --prefix=/usr $(CSHARP) \
                --disable-native-java CC="$(CC)" CFLAGS="$(CFLAGS)" \
-               JAVAC=/usr/lib/jvm/java-6-openjdk/bin/javac \
+               JAVAC=/usr/lib/jvm/default-java/bin/javac \
                CPPFLAGS=-I/usr/include/libxml2
        $(MAKE)
        $(MAKE) install DESTDIR=`pwd`/debian/tmp \




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to