app-office/libreoffice: restore rhino configure arg

I *think* dropping that src_configure line was a mistake (in fa7c7501a6).

We would either want to download a copy, or we'd use the system one and pass
the configure arg.

We dropped downloading a copy, therefore we surely want the configure arg.
And the dep wasn't dropped anyway.

Bug: https://bugs.gentoo.org/929974
Closes: https://bugs.gentoo.org/950212
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-02-24 02:36:00 +00:00
parent 6f9447f312
commit 901fe14d54
2 changed files with 7 additions and 1 deletions

View File

@@ -626,6 +626,9 @@ src_configure() {
use libreoffice_extensions_scripting-beanshell && \
myeconfargs+=( --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar) )
use libreoffice_extensions_scripting-javascript && \
myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 rhino.jar) )
fi
tc-is-lto && myeconfargs+=( --enable-lto )

View File

@@ -227,7 +227,7 @@ DEPEND="${COMMON_DEPEND}
dev-perl/Archive-Zip
>=dev-util/cppunit-1.14.0
>=dev-util/gperf-3.1
dev-util/mdds:1/2.1
dev-util/mdds:1/3.0
media-libs/glm
x11-base/xorg-proto
x11-libs/libXt
@@ -626,6 +626,9 @@ src_configure() {
use libreoffice_extensions_scripting-beanshell && \
myeconfargs+=( --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar) )
use libreoffice_extensions_scripting-javascript && \
myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 rhino.jar) )
fi
tc-is-lto && myeconfargs+=( --enable-lto )