pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/go go: clarify that go14 had no aarch64 support o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c630f28bf505
branches:  trunk
changeset: 443414:c630f28bf505
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Dec 12 11:08:26 2020 +0000

description:
go: clarify that go14 had no aarch64 support on all OSes, so we need go-bin
there.

Hopefully clarifies the acceptable solution for people running into this
problem for darwin/arm64.

diffstat:

 lang/go/bootstrap.mk |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (14 lines):

diff -r b4381fb31771 -r c630f28bf505 lang/go/bootstrap.mk
--- a/lang/go/bootstrap.mk      Sat Dec 12 10:42:47 2020 +0000
+++ b/lang/go/bootstrap.mk      Sat Dec 12 11:08:26 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: bootstrap.mk,v 1.4 2020/05/02 20:12:34 tnn Exp $
+# $NetBSD: bootstrap.mk,v 1.5 2020/12/12 11:08:26 maya Exp $
 
 .if !defined(GOROOT_BOOTSTRAP) || !exists(${GOROOT_BOOTSTRAP}/bin/go)
-.  if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) ||    \
-       !empty(MACHINE_PLATFORM:MLinux-*-aarch64)
+.  if ${MACHINE_ARCH} == "aarch64"
 BUILD_DEPENDS+=                go-bin-[0-9]*:../../lang/go-bin
 GOROOT_BOOTSTRAP=      ${PREFIX}/go-bin
 .  else



Home | Main Index | Thread Index | Old Index