aboutsummaryrefslogtreecommitdiffstats
path: root/java/openjdk11
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2019-08-31 05:52:50 +0800
committerglewis <glewis@FreeBSD.org>2019-08-31 05:52:50 +0800
commit8cdad45940a2c1d8b6a8406b3b3ff269a32f6c5b (patch)
tree20fb8eb185037b51698857da48aec6eaeda76369 /java/openjdk11
parent47e0a3a3866074dee84547e405bd51b952b950f2 (diff)
downloadfreebsd-ports-gnome-8cdad45940a2c1d8b6a8406b3b3ff269a32f6c5b.tar.gz
freebsd-ports-gnome-8cdad45940a2c1d8b6a8406b3b3ff269a32f6c5b.tar.zst
freebsd-ports-gnome-8cdad45940a2c1d8b6a8406b3b3ff269a32f6c5b.zip
Add support for aarch64
* Add aarch64 to ONLY_FOR_ARCHES on FreeBSD 12.0 and up. PR: 239246 Submitted by: Mikael Urankar <mikael.urankar@gmail.com>
Diffstat (limited to 'java/openjdk11')
-rw-r--r--java/openjdk11/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile
index b427c007f7ff..8ad94ab2f46f 100644
--- a/java/openjdk11/Makefile
+++ b/java/openjdk11/Makefile
@@ -94,6 +94,11 @@ JDK_BUILD_TYPE= release
.include <bsd.port.pre.mk>
+# Support aarch64 on FreeBSD 12 and up
+.if ${OSVERSION} >= 1200500
+ONLY_FOR_ARCHS+=aarch64
+.endif
+
BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk11 \
${LOCALBASE}/bootstrap-openjdk11