Commit 7c662a24 authored by Pino Toscano's avatar Pino Toscano

disable Java on kfreebsd

parent 0d847a4d
......@@ -3,6 +3,8 @@ link-grammar (5.5.1-5) UNRELEASED; urgency=medium
[ Pino Toscano ]
* Really disable Java for architectures without it, passing
--disable-java-bindings to configure (which defaults to enabling Java).
* Disable Java on kfreebsd-amd64, and kfreebsd-i386, as it is not building
anymore.
-- Debian QA Group <packages@qa.debian.org> Mon, 24 Dec 2018 10:15:46 +0100
......
......@@ -3,10 +3,10 @@ Section: text
Priority: optional
Maintainer: Debian QA Group <packages@qa.debian.org>
Build-Depends:
ant [!hppa !hurd-i386 !m68k !sh4],
ant [!hppa !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386 !m68k !sh4],
autoconf-archive,
debhelper (>= 11),
default-jdk [!hppa !hurd-i386 !m68k !sh4],
default-jdk [!hppa !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386 !m68k !sh4],
dh-python,
libedit-dev,
libhunspell-dev,
......@@ -102,7 +102,7 @@ Description: Carnegie Mellon University's link grammar parser (development heade
Package: liblink-grammar-java
Section: java
Architecture: alpha amd64 arm64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mips64 mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 x32
Architecture: alpha amd64 arm64 armel armhf i386 ia64 mips mips64 mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 x32
Depends:
liblink-grammar5,
${misc:Depends},
......
......@@ -5,7 +5,7 @@ include /usr/share/dpkg/architecture.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
no_java_archs = hppa hurd-i386 m68k sh4
no_java_archs = hppa hurd-i386 kfreebsd-amd64 kfreebsd-i386 m68k sh4
ifneq (,$(filter $(DEB_HOST_ARCH), $(no_java_archs)))
CONFIGURE_ARGS += --disable-java-bindings
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment