aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2017-11-02 13:29:33 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 05:51:46 +0800
commit0a2d20ea11486c2f02cf11051dbf427d384ce709 (patch)
tree454dd1cf7036efe5775ffb30948909bbed64684a /java
parent4bd1d609aec534ce64416f8214418856ff488fff (diff)
downloadfreebsd-ports-gnome-0a2d20ea11486c2f02cf11051dbf427d384ce709.tar.gz
freebsd-ports-gnome-0a2d20ea11486c2f02cf11051dbf427d384ce709.tar.zst
freebsd-ports-gnome-0a2d20ea11486c2f02cf11051dbf427d384ce709.zip
Add support for aarch64.
PR: 223231
Diffstat (limited to 'java')
-rw-r--r--java/bootstrap-openjdk8/Makefile5
-rw-r--r--java/bootstrap-openjdk8/Makefile.update2
-rw-r--r--java/bootstrap-openjdk8/distinfo.aarch643
3 files changed, 7 insertions, 3 deletions
diff --git a/java/bootstrap-openjdk8/Makefile b/java/bootstrap-openjdk8/Makefile
index a27b8c3ec727..de0ec5ae34ce 100644
--- a/java/bootstrap-openjdk8/Makefile
+++ b/java/bootstrap-openjdk8/Makefile
@@ -12,9 +12,10 @@ COMMENT= Java Development Kit 8
LICENSE= GPLv2
-ONLY_FOR_ARCHS= amd64 armv6 armv7 i386
+ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386
DISTINFO_FILE= ${.CURDIR}/distinfo.${JDK_ARCH}
+DISTVERSION_aarch64= r453315
DISTVERSION_amd64= r450802
DISTVERSION_arm= r450802
DISTVERSION_i386= r450802
@@ -32,7 +33,7 @@ INSTALLDIR= ${STAGEDIR}${PREFIX}/${JDK_ROOT}
.include <bsd.port.pre.mk>
-.if ${ARCH:Marmv*}
+.if ${ARCH} == aarch64 || ${ARCH:Marmv*}
RUN_DEPENDS+= ${LOCALBASE}/lib/libffi.so.6:devel/libffi
.endif
diff --git a/java/bootstrap-openjdk8/Makefile.update b/java/bootstrap-openjdk8/Makefile.update
index 43c2d682ce99..096b1f87c5b6 100644
--- a/java/bootstrap-openjdk8/Makefile.update
+++ b/java/bootstrap-openjdk8/Makefile.update
@@ -41,7 +41,7 @@ BUILD_ENV+= java_openjdk8_UNSET="ALSA X11"
JDK_BUILD_ARGS= ${BUILD_ARGS}
.if !defined(TARGET_OS)
-.if ${ARCH:Marmv*}
+.if ${ARCH} == aarch64 || ${ARCH:Marmv*}
TARGET_OS= 11
.else
TARGET_OS= 10
diff --git a/java/bootstrap-openjdk8/distinfo.aarch64 b/java/bootstrap-openjdk8/distinfo.aarch64
new file mode 100644
index 000000000000..795d987bd220
--- /dev/null
+++ b/java/bootstrap-openjdk8/distinfo.aarch64
@@ -0,0 +1,3 @@
+TIMESTAMP = 1509600152
+SHA256 (openjdk8-aarch64-r453315.tar.xz) = 10a7b12c4898bf2d4010c4443d8f302cadcd09225fbe4bb5a69070f224e117f0
+SIZE (openjdk8-aarch64-r453315.tar.xz) = 27089824