Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2019 21:21:09 +0000 (UTC)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510294 - head/java/bootstrap-openjdk11
Message-ID:  <201908302121.x7ULL9LI017937@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glewis
Date: Fri Aug 30 21:21:09 2019
New Revision: 510294
URL: https://svnweb.freebsd.org/changeset/ports/510294

Log:
  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

Modified:
  head/java/bootstrap-openjdk11/Makefile
  head/java/bootstrap-openjdk11/distinfo

Modified: head/java/bootstrap-openjdk11/Makefile
==============================================================================
--- head/java/bootstrap-openjdk11/Makefile	Fri Aug 30 20:57:05 2019	(r510293)
+++ head/java/bootstrap-openjdk11/Makefile	Fri Aug 30 21:21:09 2019	(r510294)
@@ -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>

Modified: head/java/bootstrap-openjdk11/distinfo
==============================================================================
--- head/java/bootstrap-openjdk11/distinfo	Fri Aug 30 20:57:05 2019	(r510293)
+++ head/java/bootstrap-openjdk11/distinfo	Fri Aug 30 21:21:09 2019	(r510294)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908302121.x7ULL9LI017937>