This is an automated email from the ASF dual-hosted git repository. jimjag pushed a commit to branch AOO50X in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 95484f1f07f98904dccbfb00a39e1a814c32f1a1 Author: Piotr Kubaj <[email protected]> AuthorDate: Thu Oct 22 16:09:31 2026 +0200 FreeBSD PowerPC64: use the ppc64le JRE directories on little-endian OpenJDK on powerpc64le keeps its native libraries under jre/lib/ppc64le, not jre/lib/ppc64, so on little-endian FreeBSD the linker looked for libjawt in a directory that doesn't exist. Pick the directory from the platform triplet. Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit cf96de6fcd2cc0a6f63d77d943c76866b44ec387) --- main/set_soenv.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/main/set_soenv.in b/main/set_soenv.in index 8fdb385379..14c7f05e68 100644 --- a/main/set_soenv.in +++ b/main/set_soenv.in @@ -421,9 +421,10 @@ elsif ( $platform =~ m/freebsd/ ) $CPU = "P"; $CPUNAME = "POWERPC64"; $OUTPATH = "unxfbsdppc64"; - $JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."ppc64"; - $JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."ppc64".$ds."server"; - $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."ppc64".$ds."native_threads"; + my $jrearch = ($platform =~ m/^powerpc64le/) ? "ppc64le" : "ppc64"; + $JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds.$jrearch; + $JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds.$jrearch.$ds."server"; + $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds.$jrearch.$ds."native_threads"; } elsif ($platform =~ m/powerpc/) { print "Setting FreeBSD PPC specific values... ";
