From 78f6f0f5777161a74627be261d2fe13acef461dc Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Fri, 30 Aug 2019 21:21:09 +0000 Subject: Add 12/aarch64 support * Add a bootstrap file for FreeBSD 12.x/aarch64 * Enable aarch64 in ONLY_FOR_ARCHES on FreeBSD 12.0 and up PR: 239246 --- java/bootstrap-openjdk11/Makefile | 13 ++++++++++++- java/bootstrap-openjdk11/distinfo | 4 +++- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'java/bootstrap-openjdk11') diff --git a/java/bootstrap-openjdk11/Makefile b/java/bootstrap-openjdk11/Makefile index bf61d4a86b36..bdde6df54b57 100644 --- a/java/bootstrap-openjdk11/Makefile +++ b/java/bootstrap-openjdk11/Makefile @@ -27,6 +27,17 @@ JDK_ARCH= ${ARCH} INSTALLDIR= ${STAGEDIR}${PREFIX}/${JDK_ROOT} +.include + +# Support aarch64 on FreeBSD 12 and up +.if ${OSVERSION} >= 1200500 +ONLY_FOR_ARCHS+=aarch64 +.endif + +.if ${ARCH} == aarch64 +DISTNAME= ${JDK_PORT}-${JDK_ARCH}-12-${PORTVERSION} +.endif + post-extract: -${MV} ${WRKSRC}/include/bsd ${WRKSRC}/include/freebsd @@ -35,4 +46,4 @@ do-install: @cd ${WRKSRC} && ${COPYTREE_BIN} bin ${INSTALLDIR} @${CHMOD} a+x ${INSTALLDIR}/lib/jspawnhelper -.include +.include diff --git a/java/bootstrap-openjdk11/distinfo b/java/bootstrap-openjdk11/distinfo index f6e4cd31ce2c..e46dcb09cb39 100644 --- a/java/bootstrap-openjdk11/distinfo +++ b/java/bootstrap-openjdk11/distinfo @@ -1,4 +1,6 @@ -TIMESTAMP = 1566697022 +TIMESTAMP = 1567191227 +SHA256 (bootstrap-openjdk11-aarch64-12-11.0.2.9.2.tar.xz) = 03b15627aeda4ca1e2350c713323191728468110bf6c0f2eb233e08985d590c2 +SIZE (bootstrap-openjdk11-aarch64-12-11.0.2.9.2.tar.xz) = 99517364 SHA256 (bootstrap-openjdk11-amd64-11.0.2.9.2.tar.xz) = e53f16a33fca82db960b68ea200b6146eaf8b3ec8b09f5fe1c7711d926d94ffa SIZE (bootstrap-openjdk11-amd64-11.0.2.9.2.tar.xz) = 102199460 SHA256 (bootstrap-openjdk11-i386-11.0.2.9.2.tar.xz) = 68b84741d7b8a7241fb30614881f15db3c174d973f999d34e0f53aca6190e00f -- cgit v1.2.3