git: 69383e3e2254 - main - lang/gnat12: adding assets for FreeBSD-15

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Fri, 27 Oct 2023 15:44:36 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69383e3e22540566b9d2f82873f8ce9f439fc54a

commit 69383e3e22540566b9d2f82873f8ce9f439fc54a
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-10-27 14:50:01 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-10-27 15:36:35 +0000

    lang/gnat12: adding assets for FreeBSD-15
    
    And since I’m there refresh the other versions.
    
    Remark: no package is available ATM for FreeBSD-12 on aarch64, it is why
            gcc6-aux is still the default.
---
 lang/gnat12/Makefile | 17 ++++++++++++++++-
 lang/gnat12/distinfo | 38 +++++++++++++++++++++++---------------
 2 files changed, 39 insertions(+), 16 deletions(-)

diff --git a/lang/gnat12/Makefile b/lang/gnat12/Makefile
index 9bd5c2e12995..8cbeea1dfdbe 100644
--- a/lang/gnat12/Makefile
+++ b/lang/gnat12/Makefile
@@ -104,7 +104,6 @@ _PLATFORM=		${OPSYS:tl}${OSREL}
 _PREV_ASSET_FILE=	gnat-${_GNAT_ARCH}-${OPSYS:tl}.${_PREV_ASSET_OSREL}-${_PREV_ASSET_VER}${_PREV_ASSET_REV}
 _PREV_ASSET_GCC=	${PREV_ASSET_VER:R:R}
 _PREV_ASSET_OSREL?=	${OSREL:R}
-_PREV_ASSET_REV?=	_2
 _PREV_ASSET_VER?=	${DISTVERSION}
 _REV_FILE=		${WRKSRC}/gcc/REVISION
 _TARGLIB=		${_PKG_PREFIX}/lib ${_PKG_PREFIX}/lib/gcc${_GCC_VER}
@@ -112,6 +111,22 @@ _TOOLCHAIN_PATHS=	/sbin:/bin:/usr/sbin:/usr/bin:${_GCC6AUX_PATH}:${PREFIX}/bin:$
 
 .include <bsd.port.options.mk>
 
+.if ${ARCH} == aarch64
+_PREV_ASSET_REV?=	_5
+.elif ${ARCH} == i386
+.  if ${OSREL:R} == 14
+_PREV_ASSET_REV?=	_5
+.  else
+_PREV_ASSET_REV?=	_6
+.  endif
+.else	# amd64
+.  if ${OSREL:R} == 12 || ${OSREL:R} == 14
+_PREV_ASSET_REV?=	_5
+.  else
+_PREV_ASSET_REV?=	_6
+.  endif
+.endif
+
 .if ${ARCH} == i386 || ${ARCH} == aarch64
 LIB_DIR_32=	""
 PLIST_SUB+=	64BITS="@comment "
diff --git a/lang/gnat12/distinfo b/lang/gnat12/distinfo
index a0ca4cdcba09..37b0da55459c 100644
--- a/lang/gnat12/distinfo
+++ b/lang/gnat12/distinfo
@@ -1,17 +1,25 @@
-TIMESTAMP = 1672218660
+TIMESTAMP = 1698413060
 SHA256 (gcc-12.2.0.tar.xz) = e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff
 SIZE (gcc-12.2.0.tar.xz) = 84645292
-SHA256 (gnat-aarch64-freebsd.13-12.2.0_2.tar.xz) = 93d625979ffdaf4a6a320e92cca902c1298773e8e57a77987af5f06ed8f84b4d
-SIZE (gnat-aarch64-freebsd.13-12.2.0_2.tar.xz) = 62352064
-SHA256 (gnat-i386-freebsd.12-12.2.0_2.tar.xz) = c741417c4c16c3849ac515b98f2505edb960bd7b16aeb79d3bbb223a9a2b8c68
-SIZE (gnat-i386-freebsd.12-12.2.0_2.tar.xz) = 71535936
-SHA256 (gnat-i386-freebsd.13-12.2.0_2.tar.xz) = 77a7d3cfb8e4b7cb19de6eb85706baec2b62f86be759548a7c876fd4e81bc42a
-SIZE (gnat-i386-freebsd.13-12.2.0_2.tar.xz) = 71342768
-SHA256 (gnat-i386-freebsd.14-12.2.0_2.tar.xz) = ef5d5d17b32b4c9c4115c59d1061a1f82334f336bd12f424ad8ad9673f5c63fd
-SIZE (gnat-i386-freebsd.14-12.2.0_2.tar.xz) = 71488992
-SHA256 (gnat-x86_64-freebsd.12-12.2.0_2.tar.xz) = e0c183fa3ba870572d8fbf9fd6be78795c40a921c91fef1879e5dc5add410ab8
-SIZE (gnat-x86_64-freebsd.12-12.2.0_2.tar.xz) = 89126688
-SHA256 (gnat-x86_64-freebsd.13-12.2.0_2.tar.xz) = 4b476ac56bc6c044d411d4fe0ebebe0059fc4021158f7191c5f8685d344d2d0a
-SIZE (gnat-x86_64-freebsd.13-12.2.0_2.tar.xz) = 89935208
-SHA256 (gnat-x86_64-freebsd.14-12.2.0_2.tar.xz) = 882c8463bc5c6b685df9bc95b85dd4f1e006fe280b13a4ff39d8a9fd7315e56b
-SIZE (gnat-x86_64-freebsd.14-12.2.0_2.tar.xz) = 89050524
+SHA256 (gnat-aarch64-freebsd.13-12.2.0_5.tar.xz) = 4acb7e6a0ebb38f9f32608a61ae91d71f19df994117932648ac2539bc3040878
+SIZE (gnat-aarch64-freebsd.13-12.2.0_5.tar.xz) = 63261624
+SHA256 (gnat-aarch64-freebsd.14-12.2.0_5.tar.xz) = 2b59733586b1427c9436378c1022cc9a3e2a252c05fa5d714f7c2fc3e2f060af
+SIZE (gnat-aarch64-freebsd.14-12.2.0_5.tar.xz) = 63280840
+SHA256 (gnat-aarch64-freebsd.15-12.2.0_5.tar.xz) = 0a7e0f5d4972a54a869e4b278c40da9bcd65221a36b0c4c101b62b68088caf2e
+SIZE (gnat-aarch64-freebsd.15-12.2.0_5.tar.xz) = 63250072
+SHA256 (gnat-i386-freebsd.12-12.2.0_6.tar.xz) = 7fed6b6fb2d8f7de4b5a226a0a1f48d37fd1bc4c747260caac8b161bf7c999ca
+SIZE (gnat-i386-freebsd.12-12.2.0_6.tar.xz) = 77422396
+SHA256 (gnat-i386-freebsd.13-12.2.0_6.tar.xz) = 44b971d7cff0661d9858c343327f2920775b30136202d2307cb1e26cb9e2d3b2
+SIZE (gnat-i386-freebsd.13-12.2.0_6.tar.xz) = 76782872
+SHA256 (gnat-i386-freebsd.14-12.2.0_5.tar.xz) = bdc7fc184f80588a108193290d328d3e6a1da38394ba6b5da4fc46d83147d296
+SIZE (gnat-i386-freebsd.14-12.2.0_5.tar.xz) = 72231100
+SHA256 (gnat-i386-freebsd.15-12.2.0_6.tar.xz) = ae1dcdcc5bbf890b1be110e5457ded40fdbcb3e5e7ef811eaf367d5baa21f957
+SIZE (gnat-i386-freebsd.15-12.2.0_6.tar.xz) = 77128456
+SHA256 (gnat-x86_64-freebsd.12-12.2.0_5.tar.xz) = 76161c76172a1840755f78e984ba8780aede2fe19c6aede8603706ede2b3d3aa
+SIZE (gnat-x86_64-freebsd.12-12.2.0_5.tar.xz) = 89119332
+SHA256 (gnat-x86_64-freebsd.13-12.2.0_6.tar.xz) = c64422a1e9ce650da5d9e90c7cc228039e193c6b240875b673b116764bc457ad
+SIZE (gnat-x86_64-freebsd.13-12.2.0_6.tar.xz) = 90090772
+SHA256 (gnat-x86_64-freebsd.14-12.2.0_5.tar.xz) = 6a6bbe35d5c80e1a228793ff9c0ab1c22a17cefdd43a3c4798bbd878ceb68412
+SIZE (gnat-x86_64-freebsd.14-12.2.0_5.tar.xz) = 89065176
+SHA256 (gnat-x86_64-freebsd.15-12.2.0_6.tar.xz) = a486e0257eadcc1f90770df06d849978d070551b929f347e906030632374f6a2
+SIZE (gnat-x86_64-freebsd.15-12.2.0_6.tar.xz) = 90213972