pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/go



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Jul 14 10:18:28 UTC 2021

Modified Files:
        pkgsrc/lang/go: bootstrap.mk

Log Message:
go: Remove go-bin code signatures on Darwin/aarch64.

Fixes the build of go116 when inside a chroot as the signatures cannot be
verified for some reason.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/go/bootstrap.mk

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.5 pkgsrc/lang/go/bootstrap.mk:1.6
--- pkgsrc/lang/go/bootstrap.mk:1.5     Sat Dec 12 11:08:26 2020
+++ pkgsrc/lang/go/bootstrap.mk Wed Jul 14 10:18:28 2021
@@ -1,9 +1,16 @@
-# $NetBSD: bootstrap.mk,v 1.5 2020/12/12 11:08:26 maya Exp $
+# $NetBSD: bootstrap.mk,v 1.6 2021/07/14 10:18:28 jperkin Exp $
 
 .if !defined(GOROOT_BOOTSTRAP) || !exists(${GOROOT_BOOTSTRAP}/bin/go)
 .  if ${MACHINE_ARCH} == "aarch64"
 BUILD_DEPENDS+=                go-bin-[0-9]*:../../lang/go-bin
 GOROOT_BOOTSTRAP=      ${PREFIX}/go-bin
+.    if ${OPSYS} == "Darwin"
+pre-build: remove-codesign
+remove-codesign:
+       @for f in ${PREFIX}/go-bin/bin/* ${PREFIX}/go-bin/pkg/tool/darwin_arm64/*; do \
+               /usr/bin/codesign --remove-signature $$f; \
+       done
+.    endif
 .  else
 BUILD_DEPENDS+=                go14-1.4*:../../lang/go14
 GOROOT_BOOTSTRAP=      ${PREFIX}/go14



Home | Main Index | Thread Index | Old Index