From a47fd5cb713f00d80d6bc0cd8cc50a3f7759adc0 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 16 Feb 2023 17:57:26 +0100 Subject: [PATCH] Libreoffice:Update to version 7.5.1.1 add parallelism option to configure and fix integer error --- libreoffice.be0 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libreoffice.be0 b/libreoffice.be0 index ef6309cf8..99c85f1aa 100755 --- a/libreoffice.be0 +++ b/libreoffice.be0 @@ -34,6 +34,10 @@ mee_configure() { . /pkg/openjdk-17.0.2.8-0/profile . /pkg/apache-ant-1.10.12-0/profile + #checking for number of processors to use... ./configure: line 44675: test: -j80: integer expression expected + if [[ ${BEE_MAKEFLAGS:: 2} == "-j" ]]; then + LALA=${BEE_MAKEFLAGS: 2} + fi ${S}/autogen.sh \ --prefix=${PREFIX} \ @@ -63,8 +67,8 @@ mee_configure() { --with-system-openssl \ --with-system-poppler \ --with-system-postgresql \ - --with-system-serf \ - --with-system-zlib + --with-system-zlib \ + --with-parallelism=${LALA} sed -i 's/all: check-if-root build/all: build/g' ${B}/Makefile sed -i 's/bootstrap: check-if-root compilerplugins/all: compilerplugins/g' ${B}/Makefile