libreoffice: enable java

Closes: #6191 [via git-merge-pr]
This commit is contained in:
Julien Dehos 2017-04-10 00:40:17 +02:00 committed by Jürgen Buchmüller
parent 4e2d9db440
commit 12c3053d63

View file

@ -95,6 +95,13 @@ case "$XBPS_TARGET_MACHINE" in
;;
esac
case "$XBPS_TARGET_MACHINE" in
*-musl)
;;
*) makedepends+=" apache-ant openjdk "
;;
esac
post_fetch() {
local srcdistdir=${XBPS_SRCDISTDIR}/${pkgname}-${version} pkg
mkdir -p ${wrksrc}/external/tarballs
@ -131,7 +138,6 @@ do_configure() {
configure_args+=" --with-vendor='VoidLinux'"
configure_args+=" --with-help"
configure_args+=" --with-alloc=system"
configure_args+=" --without-java"
configure_args+=" --without-system-dicts"
configure_args+=" --disable-odk"
configure_args+=" --enable-python=system"
@ -146,6 +152,7 @@ do_configure() {
configure_args+=" --enable-extra-font"
case "$XBPS_TARGET_MACHINE" in
*-musl) # Can't use the glibc external modules
configure_args+=" --without-java"
;;
*) configure_args+=" --enable-ext-mariadb-connector"
configure_args+=" --enable-ext-watch-window"
@ -159,6 +166,8 @@ do_configure() {
configure_args+=" --enable-ext-google-docs"
configure_args+=" --enable-ext-nlpsolver"
configure_args+=" --enable-ext-languagetool"
configure_args+=" --with-jdk-home=/usr/lib/jvm/openjdk"
configure_args+=" --without-junit"
;;
esac
configure_args+=" --with-tls=nss"