pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Aug  3 19:28:29 UTC 2024

Modified Files:
        pkgsrc/lang/go: bootstrap.mk
        pkgsrc/lang/go-bin: Makefile distinfo

Log Message:
go-bin: add FreeBSD binaries

go14 does not build on FreeBSD 14, so the bootstrap from source does not
work. Thus, use go-bin for bootstrapping on FreeBSD 14.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/go/bootstrap.mk
cvs rdiff -u -r1.21 -r1.22 pkgsrc/lang/go-bin/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/go-bin/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/go/bootstrap.mk
diff -u pkgsrc/lang/go/bootstrap.mk:1.12 pkgsrc/lang/go/bootstrap.mk:1.13
--- pkgsrc/lang/go/bootstrap.mk:1.12    Tue Jun  6 12:41:44 2023
+++ pkgsrc/lang/go/bootstrap.mk Sat Aug  3 19:28:29 2024
@@ -1,8 +1,9 @@
-# $NetBSD: bootstrap.mk,v 1.12 2023/06/06 12:41:44 riastradh Exp $
+# $NetBSD: bootstrap.mk,v 1.13 2024/08/03 19:28:29 bsiegert Exp $
 
 .if !defined(GOROOT_BOOTSTRAP) || !exists(${GOROOT_BOOTSTRAP}/bin/go)
 .  if ${MACHINE_ARCH} == "aarch64" || \
     (${OPSYS} == "Darwin" && ${OPSYS_VERSION} >= 120000) || \
+    (${OPSYS} == "FreeBSD" && ${OPSYS_VERSION} >= 140000) || \
     (${OPSYS} == "SunOS" && ${OS_VARIANT} != "Solaris")
 TOOL_DEPENDS+=         go-bin-[0-9]*:../../lang/go-bin
 GOROOT_BOOTSTRAP=      ${PREFIX}/go-bin

Index: pkgsrc/lang/go-bin/Makefile
diff -u pkgsrc/lang/go-bin/Makefile:1.21 pkgsrc/lang/go-bin/Makefile:1.22
--- pkgsrc/lang/go-bin/Makefile:1.21    Tue Apr  2 13:49:28 2024
+++ pkgsrc/lang/go-bin/Makefile Sat Aug  3 19:28:29 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2024/04/02 13:49:28 jperkin Exp $
+# $NetBSD: Makefile,v 1.22 2024/08/03 19:28:29 bsiegert Exp $
 
 PKGNAME=       go-bin-1.21.5
 CATEGORIES=    lang
@@ -45,6 +45,34 @@ DISTFILES+=                  ${DIST.darwin-arm64}
 EXTRACT_ONLY+=                 ${DIST.darwin-arm64}
 .endif
 
+ONLY_FOR_PLATFORM+=            FreeBSD-*-i386
+DIST.freebsd-386=              go${PKGVERSION_NOREV}.freebsd-386.tar.gz
+.if ${MACHINE_PLATFORM:MFreeBSD-*-i386} || make(distinfo) || make(mdi)
+DISTFILES+=                    ${DIST.freebsd-386}
+EXTRACT_ONLY+=                 ${DIST.freebsd-386}
+.endif
+
+ONLY_FOR_PLATFORM+=            FreeBSD-*-x86_64
+DIST.freebsd-amd64=            go${PKGVERSION_NOREV}.freebsd-amd64.tar.gz
+.if ${MACHINE_PLATFORM:MFreeBSD-*-x86_64} || make(distinfo) || make(mdi)
+DISTFILES+=                    ${DIST.freebsd-amd64}
+EXTRACT_ONLY+=                 ${DIST.freebsd-amd64}
+.endif
+
+ONLY_FOR_PLATFORM+=            FreeBSD-*-*arm*
+DIST.freebsd-arm=              go${PKGVERSION_NOREV}.freebsd-arm.tar.gz
+.if ${MACHINE_PLATFORM:MFreeBSD-*-*arm*} || make(distinfo) || make(mdi)
+DISTFILES+=                    ${DIST.freebsd-arm}
+EXTRACT_ONLY+=                 ${DIST.freebsd-arm}
+.endif
+
+ONLY_FOR_PLATFORM+=            FreeBSD-*-aarch64
+DIST.freebsd-arm64=            go${PKGVERSION_NOREV}.freebsd-arm64.tar.gz
+.if ${MACHINE_PLATFORM:MFreeBSD-*-aarch64} || make(distinfo) || make(mdi)
+DISTFILES+=                    ${DIST.freebsd-arm64}
+EXTRACT_ONLY+=                 ${DIST.freebsd-arm64}
+.endif
+
 ONLY_FOR_PLATFORM+=            Linux-*-i386
 DIST.linux-386=                        go${PKGVERSION_NOREV}.linux-386.tar.gz
 .if ${MACHINE_PLATFORM:MLinux-*-i386} || make(distinfo) || make(mdi)

Index: pkgsrc/lang/go-bin/distinfo
diff -u pkgsrc/lang/go-bin/distinfo:1.10 pkgsrc/lang/go-bin/distinfo:1.11
--- pkgsrc/lang/go-bin/distinfo:1.10    Tue Apr  2 13:48:51 2024
+++ pkgsrc/lang/go-bin/distinfo Sat Aug  3 19:28:29 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2024/04/02 13:48:51 jperkin Exp $
+$NetBSD: distinfo,v 1.11 2024/08/03 19:28:29 bsiegert Exp $
 
 BLAKE2s (go1.21.5.darwin-amd64.tar.gz) = ffa3efd58cd6e3af21dd2509a697a80e92da630da3353f4074ece6cfbeb4fbed
 SHA512 (go1.21.5.darwin-amd64.tar.gz) = ddd5a73edfc4aa9a15fc0be0548a0f1a4369becbe1e2f4435e3dd705ff4d3b7d8787b2ebba2fbad664065be71ac83378f2149975b426ee3192314ce07ae4f1ec
@@ -6,6 +6,18 @@ Size (go1.21.5.darwin-amd64.tar.gz) = 67
 BLAKE2s (go1.21.5.darwin-arm64.tar.gz) = ffeb36749508f387ed95699709d223aa20cb448c690adb4faef951eb7a962b4b
 SHA512 (go1.21.5.darwin-arm64.tar.gz) = aabea2c25180830c310c91c9112f62dfb498b19f1f5a514893469c9802e474044b52f29bc40a9df7724c25b5243c5daf90c93fe846783dd94eb6d95c128a8af0
 Size (go1.21.5.darwin-arm64.tar.gz) = 65096621 bytes
+BLAKE2s (go1.21.5.freebsd-386.tar.gz) = 2ef7c8fde619f7c50236d5434cc0609a2ec576d1fbc7a4c968e7b1622625cbd6
+SHA512 (go1.21.5.freebsd-386.tar.gz) = aa3f68c4e786401559e27d2f8754de9992496eb7ad94be5506bd97511bbc51d6ba4ecd25fd1ac759063170de081735d98828b8af0c9675f2f19f1e8239db07ce
+Size (go1.21.5.freebsd-386.tar.gz) = 64890223 bytes
+BLAKE2s (go1.21.5.freebsd-amd64.tar.gz) = f5d857f13d9c38767c9aa24639dbfe06234bfed6a842fd49467ff7823435728f
+SHA512 (go1.21.5.freebsd-amd64.tar.gz) = e6f9d7f5417fdf61ca9705e41069abbed4b8d931c6d065edf22094fbd2b4c702c2806180547258b941ba19de1904f24bc63f2318bcc7ffedca16cca7ee35ce9c
+Size (go1.21.5.freebsd-amd64.tar.gz) = 66496187 bytes
+BLAKE2s (go1.21.5.freebsd-arm.tar.gz) = 5cbcf8a85cbb992a0c63d12ac0b2cbfd9ee5cfddca557f08664c98041882d086
+SHA512 (go1.21.5.freebsd-arm.tar.gz) = 190a6d67f3d827d4e0fd4210290af73a780a7942ba0ae0366531bf06ac9b9040777fcb05b7cdaf62d40526f58c3adccb9a475897fdec5b9043eb9dfc2358104d
+Size (go1.21.5.freebsd-arm.tar.gz) = 65053155 bytes
+BLAKE2s (go1.21.5.freebsd-arm64.tar.gz) = ec61eb909cc98bbb030bf90e280564e23151b4917dda0dfa239e5d204228d86c
+SHA512 (go1.21.5.freebsd-arm64.tar.gz) = da2b7f3cc99d4733682d2bdff840cf388194890ffd2e1480811e1c59ac374fcde1b6ef36929288c76e4e90df9e6c4165889e359e9d3db7af91b4f91de022ecff
+Size (go1.21.5.freebsd-arm64.tar.gz) = 63538092 bytes
 BLAKE2s (go1.21.5.linux-386.tar.gz) = 6ab794f3a7ba4ac4ef526b47326081910220ab215b909caf71ed8abe0aab58cf
 SHA512 (go1.21.5.linux-386.tar.gz) = 7613da732ea30cfd2832276a5a1b51df5ababb34b3e655de7d2ff3329ac0dd0bbca6681e6ba2483bca512478be493ffb2b9b5da712d8e1783954832af758bb9b
 Size (go1.21.5.linux-386.tar.gz) = 65080739 bytes



Home | Main Index | Thread Index | Old Index