aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2017-12-01 09:41:29 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 06:02:36 +0800
commit2e056b7cf71c5758d414739455dbe7b1ac65d0b9 (patch)
tree04ece7ccc69626942dbc87f45654bf0f779eb5fe /java
parentd920cc556b2db2e599376a16765c9ec337f2660d (diff)
downloadfreebsd-ports-gnome-2e056b7cf71c5758d414739455dbe7b1ac65d0b9.tar.gz
freebsd-ports-gnome-2e056b7cf71c5758d414739455dbe7b1ac65d0b9.tar.zst
freebsd-ports-gnome-2e056b7cf71c5758d414739455dbe7b1ac65d0b9.zip
Add support for powerpc64.
PR: 223262
Diffstat (limited to 'java')
-rw-r--r--java/bootstrap-openjdk8/Makefile5
-rw-r--r--java/bootstrap-openjdk8/Makefile.update4
-rw-r--r--java/bootstrap-openjdk8/distinfo.ppc643
3 files changed, 8 insertions, 4 deletions
diff --git a/java/bootstrap-openjdk8/Makefile b/java/bootstrap-openjdk8/Makefile
index de0ec5ae34ce..80895d8c73c7 100644
--- a/java/bootstrap-openjdk8/Makefile
+++ b/java/bootstrap-openjdk8/Makefile
@@ -12,15 +12,16 @@ COMMENT= Java Development Kit 8
LICENSE= GPLv2
-ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386
+ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64
DISTINFO_FILE= ${.CURDIR}/distinfo.${JDK_ARCH}
DISTVERSION_aarch64= r453315
DISTVERSION_amd64= r450802
DISTVERSION_arm= r450802
DISTVERSION_i386= r450802
+DISTVERSION_ppc64= r455236
-JDK_ARCH= ${ARCH:C/armv.*/arm/}
+JDK_ARCH= ${ARCH:C/armv.*/arm/:S/powerpc/ppc/}
JDK_PORT= openjdk8
JDK_ROOT= bootstrap-${PORTNAME}
diff --git a/java/bootstrap-openjdk8/Makefile.update b/java/bootstrap-openjdk8/Makefile.update
index 096b1f87c5b6..2a793fabd528 100644
--- a/java/bootstrap-openjdk8/Makefile.update
+++ b/java/bootstrap-openjdk8/Makefile.update
@@ -1,6 +1,6 @@
# $FreeBSD$
-JDK_ARCH?= ${ARCH:C/armv.*/arm/}
+JDK_ARCH?= ${ARCH:C/armv.*/arm/:S/powerpc/ppc/}
JDK_PORT?= openjdk8
JDK_ROOT?= bootstrap-${JDK_PORT}
@@ -41,7 +41,7 @@ BUILD_ENV+= java_openjdk8_UNSET="ALSA X11"
JDK_BUILD_ARGS= ${BUILD_ARGS}
.if !defined(TARGET_OS)
-.if ${ARCH} == aarch64 || ${ARCH:Marmv*}
+.if ${ARCH} == aarch64 || ${ARCH:Marmv*} || ${ARCH:Mpowerpc*}
TARGET_OS= 11
.else
TARGET_OS= 10
diff --git a/java/bootstrap-openjdk8/distinfo.ppc64 b/java/bootstrap-openjdk8/distinfo.ppc64
new file mode 100644
index 000000000000..466b88886eeb
--- /dev/null
+++ b/java/bootstrap-openjdk8/distinfo.ppc64
@@ -0,0 +1,3 @@
+TIMESTAMP = 1512091763
+SHA256 (openjdk8-ppc64-r455236.tar.xz) = 81ac56dbffd860d41e7d6d2a2dc29e6f65ee155db9c92a1c9ccc688b2d7a1f19
+SIZE (openjdk8-ppc64-r455236.tar.xz) = 28179536