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
This commit is contained in:
Greg Lewis
2019-08-30 21:21:09 +00:00
parent b01039c25b
commit 78f6f0f577
2 changed files with 15 additions and 2 deletions
+12 -1
View File
@@ -27,6 +27,17 @@ JDK_ARCH= ${ARCH}
INSTALLDIR= ${STAGEDIR}${PREFIX}/${JDK_ROOT}
.include <bsd.port.pre.mk>
# 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 <bsd.port.mk>
.include <bsd.port.post.mk>
+3 -1
View File
@@ -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