pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/go-bin



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Dec 19 14:27:18 UTC 2020

Modified Files:
        pkgsrc/lang/go-bin: Makefile distinfo

Log Message:
go-bin: support for Darwin/arm64.

This uses go-1.16.beta1, which is the first (beta) release to natively
support Apple Silicon on macOS.

Discussed and tested on tech-pkg@.

Note that more is missing to be able to use Go 1.16 to build packages on
Darwin/aarch64 (or arm64).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/go-bin/Makefile
cvs rdiff -u -r1.1 -r1.2 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-bin/Makefile
diff -u pkgsrc/lang/go-bin/Makefile:1.2 pkgsrc/lang/go-bin/Makefile:1.3
--- pkgsrc/lang/go-bin/Makefile:1.2     Mon Aug 31 18:09:50 2020
+++ pkgsrc/lang/go-bin/Makefile Sat Dec 19 14:27:18 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/08/31 18:09:50 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2020/12/19 14:27:18 bsiegert Exp $
 
 PKGNAME=       go-bin-1.14.2
 PKGREVISION=   1
@@ -35,6 +35,16 @@ DISTFILES+=                  ${DIST.darwin-amd64}
 EXTRACT_ONLY+=                 ${DIST.darwin-amd64}
 .endif
 
+ONLY_FOR_PLATFORM+=            Darwin-*-aarch64
+.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
+PKGNAME=                       go-1.16.beta1
+.endif
+DIST.darwin-arm64=             go1.16beta1.darwin-arm64.tar.gz
+.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64) || make(distinfo)
+DISTFILES+=                    ${DIST.darwin-arm64}
+EXTRACT_ONLY+=                 ${DIST.darwin-arm64}
+.endif
+
 ONLY_FOR_PLATFORM+=            Linux-*-i386
 DIST.linux-386=                        go${PKGVERSION_NOREV}.linux-386.tar.gz
 .if !empty(MACHINE_PLATFORM:MLinux-*-i386) || make(distinfo)

Index: pkgsrc/lang/go-bin/distinfo
diff -u pkgsrc/lang/go-bin/distinfo:1.1 pkgsrc/lang/go-bin/distinfo:1.2
--- pkgsrc/lang/go-bin/distinfo:1.1     Sat May  2 20:07:31 2020
+++ pkgsrc/lang/go-bin/distinfo Sat Dec 19 14:27:18 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2020/05/02 20:07:31 tnn Exp $
+$NetBSD: distinfo,v 1.2 2020/12/19 14:27:18 bsiegert Exp $
 
 SHA1 (go1.14.2.darwin-amd64.tar.gz) = f7e5201a2e2928c6da2df231bd0776f5bbd6bd36
 RMD160 (go1.14.2.darwin-amd64.tar.gz) = 58e46896bb087e0193d3dd7a93d6e5f6dd7c551f
@@ -24,3 +24,7 @@ SHA1 (go1.14.2.netbsd-arm64.tar.gz) = 80
 RMD160 (go1.14.2.netbsd-arm64.tar.gz) = 9f8b1c91f906db09f1031a5008d50cf4fedf5a3f
 SHA512 (go1.14.2.netbsd-arm64.tar.gz) = d3750a3092118e05aa9b4a0a59ae2d49950d0c259a92b54c230d98e239725acd240556643ce7019a5d1ea3ecd1ccc37fc6bcc4e8b7a9a0f32d347f4daa4dccbf
 Size (go1.14.2.netbsd-arm64.tar.gz) = 123662640 bytes
+SHA1 (go1.16beta1.darwin-arm64.tar.gz) = e3ada457bfe3aa26466721ab8a1a511050b45cfd
+RMD160 (go1.16beta1.darwin-arm64.tar.gz) = e52a589b00650f86e765c7b107686e07df2b18c0
+SHA512 (go1.16beta1.darwin-arm64.tar.gz) = 9cc0def8c852e8f2550e8bd5ba0cdbba8892b3ecd8c855fb1e19603ec7fa2e0572d74bce47f62bfb3039024f65c8ff17fca777cef7fd5e25f2dd77ecb66c05d6
+Size (go1.16beta1.darwin-arm64.tar.gz) = 127918903 bytes



Home | Main Index | Thread Index | Old Index