Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:43:11 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c02578005308 - main - java/bootstrap-openjdk11: add powerpc support
Message-ID:  <202501122143.50CLhB0v097020@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c025780053087125765c5935f3cf650099b09daa

commit c025780053087125765c5935f3cf650099b09daa
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 09:35:37 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:46 +0000

    java/bootstrap-openjdk11: add powerpc support
---
 java/bootstrap-openjdk11/Makefile  |  8 +++++++-
 java/bootstrap-openjdk11/distinfo  |  2 ++
 java/bootstrap-openjdk11/pkg-plist | 24 ++++++++++++------------
 3 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/java/bootstrap-openjdk11/Makefile b/java/bootstrap-openjdk11/Makefile
index 58dcdc149948..d3a00da8743a 100644
--- a/java/bootstrap-openjdk11/Makefile
+++ b/java/bootstrap-openjdk11/Makefile
@@ -12,7 +12,7 @@ WWW=		https://openjdk.java.net/
 
 LICENSE=	GPLv2
 
-ONLY_FOR_ARCHS=	aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le
+ONLY_FOR_ARCHS=	aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le
 
 USES=		tar:xz
 
@@ -31,10 +31,16 @@ INSTALLDIR=	${STAGEDIR}${PREFIX}/${JDK_ROOT}
 
 .if ${ARCH} == aarch64 || ${ARCH:Marmv*}
 DISTNAME=	${JDK_PORT}-${JDK_ARCH}-12-${PORTVERSION}
+PLIST_SUB+=	PPC=""
 PLIST_SUB+=	PPC64LE=""
 .elif ${ARCH} == powerpc64le
+PLIST_SUB+=	PPC=""
 PLIST_SUB+=	PPC64LE="@comment "
+.elif ${ARCH} == powerpc
+PLIST_SUB+=	PPC="@comment "
+PLIST_SUB+=	PPC64LE=""
 .else
+PLIST_SUB+=	PPC=""
 PLIST_SUB+=	PPC64LE=""
 .endif
 
diff --git a/java/bootstrap-openjdk11/distinfo b/java/bootstrap-openjdk11/distinfo
index 1d0ace85e2e4..74c45e2b79d2 100644
--- a/java/bootstrap-openjdk11/distinfo
+++ b/java/bootstrap-openjdk11/distinfo
@@ -11,3 +11,5 @@ SHA256 (bootstrap-openjdk11-powerpc64-elfv2-11.0.5.10.1.tar.xz) = b3bd1ac3fbfe6b
 SIZE (bootstrap-openjdk11-powerpc64-elfv2-11.0.5.10.1.tar.xz) = 97626680
 SHA256 (bootstrap-openjdk11-powerpc64le-11.0.5.10.1.tar.xz) = 37fcadc9a4a27d5cc82c64bba322acf4ae398ed0fd1a566829394413ac471d5d
 SIZE (bootstrap-openjdk11-powerpc64le-11.0.5.10.1.tar.xz) = 149744680
+SHA256 (bootstrap-openjdk11-powerpc-11.0.5.10.1.tar.xz) = 2a333e562031725294d4ae122f8c375771d08292e6d88baa43b199a62f5f1ab1
+SIZE (bootstrap-openjdk11-powerpc-11.0.5.10.1.tar.xz) = 92076636
diff --git a/java/bootstrap-openjdk11/pkg-plist b/java/bootstrap-openjdk11/pkg-plist
index 995691455da9..36941526188b 100644
--- a/java/bootstrap-openjdk11/pkg-plist
+++ b/java/bootstrap-openjdk11/pkg-plist
@@ -9,7 +9,7 @@
 %%JDK_ROOT%%/bin/jdb
 %%JDK_ROOT%%/bin/jdeprscan
 %%JDK_ROOT%%/bin/jdeps
-%%JDK_ROOT%%/bin/jhsdb
+%%PPC%%%%JDK_ROOT%%/bin/jhsdb
 %%JDK_ROOT%%/bin/jimage
 %%JDK_ROOT%%/bin/jinfo
 %%JDK_ROOT%%/bin/jjs
@@ -81,7 +81,7 @@
 %%JDK_ROOT%%/jmods/jdk.crypto.ec.jmod
 %%JDK_ROOT%%/jmods/jdk.dynalink.jmod
 %%JDK_ROOT%%/jmods/jdk.editpad.jmod
-%%JDK_ROOT%%/jmods/jdk.hotspot.agent.jmod
+%%PPC%%%%JDK_ROOT%%/jmods/jdk.hotspot.agent.jmod
 %%JDK_ROOT%%/jmods/jdk.httpserver.jmod
 %%JDK_ROOT%%/jmods/jdk.internal.ed.jmod
 %%JDK_ROOT%%/jmods/jdk.internal.jvmstat.jmod
@@ -139,8 +139,8 @@
 %%JDK_ROOT%%/legal/java.desktop/colorimaging.md
 %%JDK_ROOT%%/legal/java.desktop/harfbuzz.md
 %%JDK_ROOT%%/legal/java.desktop/mesa3d.md
-%%PPC64LE%%%%JDK_ROOT%%/legal/java.desktop/opengl.md
-%%PPC64LE%%%%JDK_ROOT%%/legal/java.desktop/xwindows.md
+%%PPC%%%%PPC64LE%%%%JDK_ROOT%%/legal/java.desktop/opengl.md
+%%PPC%%%%PPC64LE%%%%JDK_ROOT%%/legal/java.desktop/xwindows.md
 %%JDK_ROOT%%/legal/java.instrument/ADDITIONAL_LICENSE_INFO
 %%JDK_ROOT%%/legal/java.instrument/ASSEMBLY_EXCEPTION
 %%JDK_ROOT%%/legal/java.instrument/LICENSE
@@ -230,9 +230,9 @@
 %%JDK_ROOT%%/legal/jdk.editpad/ADDITIONAL_LICENSE_INFO
 %%JDK_ROOT%%/legal/jdk.editpad/ASSEMBLY_EXCEPTION
 %%JDK_ROOT%%/legal/jdk.editpad/LICENSE
-%%JDK_ROOT%%/legal/jdk.hotspot.agent/ADDITIONAL_LICENSE_INFO
-%%JDK_ROOT%%/legal/jdk.hotspot.agent/ASSEMBLY_EXCEPTION
-%%JDK_ROOT%%/legal/jdk.hotspot.agent/LICENSE
+%%PPC%%%%JDK_ROOT%%/legal/jdk.hotspot.agent/ADDITIONAL_LICENSE_INFO
+%%PPC%%%%JDK_ROOT%%/legal/jdk.hotspot.agent/ASSEMBLY_EXCEPTION
+%%PPC%%%%JDK_ROOT%%/legal/jdk.hotspot.agent/LICENSE
 %%JDK_ROOT%%/legal/jdk.httpserver/ADDITIONAL_LICENSE_INFO
 %%JDK_ROOT%%/legal/jdk.httpserver/ASSEMBLY_EXCEPTION
 %%JDK_ROOT%%/legal/jdk.httpserver/LICENSE
@@ -256,7 +256,7 @@
 %%JDK_ROOT%%/legal/jdk.javadoc/ADDITIONAL_LICENSE_INFO
 %%JDK_ROOT%%/legal/jdk.javadoc/ASSEMBLY_EXCEPTION
 %%JDK_ROOT%%/legal/jdk.javadoc/LICENSE
-%%JDK_ROOT%%/legal/jdk.javadoc/jquery-migrate.md
+%%PPC%%%%JDK_ROOT%%/legal/jdk.javadoc/jquery-migrate.md
 %%JDK_ROOT%%/legal/jdk.javadoc/jquery.md
 %%JDK_ROOT%%/legal/jdk.javadoc/jqueryUI.md
 %%JDK_ROOT%%/legal/jdk.javadoc/jszip.md
@@ -349,7 +349,7 @@
 %%JDK_ROOT%%/legal/jdk.zipfs/ADDITIONAL_LICENSE_INFO
 %%JDK_ROOT%%/legal/jdk.zipfs/ASSEMBLY_EXCEPTION
 %%JDK_ROOT%%/legal/jdk.zipfs/LICENSE
-%%JDK_ROOT%%/lib/classlist
+%%PPC%%%%JDK_ROOT%%/lib/classlist
 %%JDK_ROOT%%/lib/ct.sym
 %%JDK_ROOT%%/lib/fontconfig.bfc
 %%JDK_ROOT%%/lib/fontconfig.properties.src
@@ -387,8 +387,8 @@
 %%JDK_ROOT%%/lib/libnio.so
 %%JDK_ROOT%%/lib/libprefs.so
 %%JDK_ROOT%%/lib/librmi.so
-%%JDK_ROOT%%/lib/libsaproc.so
-%%JDK_ROOT%%/lib/libsctp.so
+%%PPC%%%%JDK_ROOT%%/lib/libsaproc.so
+%%PPC%%%%JDK_ROOT%%/lib/libsctp.so
 %%JDK_ROOT%%/lib/libsplashscreen.so
 %%JDK_ROOT%%/lib/libsunec.so
 %%JDK_ROOT%%/lib/libunpack.so
@@ -397,7 +397,7 @@
 %%JDK_ROOT%%/lib/modules
 %%JDK_ROOT%%/lib/psfont.properties.ja
 %%JDK_ROOT%%/lib/psfontj2d.properties
-%%JDK_ROOT%%/lib/security/blacklisted.certs
+%%PPC%%%%JDK_ROOT%%/lib/security/blacklisted.certs
 %%JDK_ROOT%%/lib/security/cacerts
 %%JDK_ROOT%%/lib/security/default.policy
 %%JDK_ROOT%%/lib/security/public_suffix_list.dat



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501122143.50CLhB0v097020>