git: 2309e28d9e4f - main - lang/go, lang/go-devel: Respect CC

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Mon, 15 Nov 2021 21:53:02 UTC
The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2309e28d9e4f185b5de56f0b4e5b0bde857a3c3a

commit 2309e28d9e4f185b5de56f0b4e5b0bde857a3c3a
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2021-11-15 21:52:27 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-11-15 21:52:27 +0000

    lang/go, lang/go-devel: Respect CC
    
    PR:             258291
    Fixes:          f55607ce7b906bd7886b857f568956880f4281ff
    Reported by:    Evgeniy Khramtsov <evgeniy@khramtsov.org>
---
 lang/go-devel/Makefile | 2 +-
 lang/go/Makefile       | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lang/go-devel/Makefile b/lang/go-devel/Makefile
index a127c479e528..e1c273e5afb2 100644
--- a/lang/go-devel/Makefile
+++ b/lang/go-devel/Makefile
@@ -2,7 +2,7 @@
 
 PORTVERSION=	g20211105
 # Always set PORTREVISION and PORTEPOCH explicitly as otherwise they are inherited from lang/go
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	0
 MASTER_SITES=	https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRAP_TAG}/:bootstrap \
 		LOCAL/dmgk:bootstrap
diff --git a/lang/go/Makefile b/lang/go/Makefile
index 5a7a1f6453a0..a1ba05a8fc85 100644
--- a/lang/go/Makefile
+++ b/lang/go/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	go
 PORTVERSION?=	1.17.3
-PORTREVISION?=	1
+PORTREVISION?=	2
 PORTEPOCH?=	1
 CATEGORIES=	lang
 MASTER_SITES?=	https://golang.org/dl/ \
@@ -84,6 +84,7 @@ do-build:
 		GOARCH=${GOARCH_${ARCH}} \
 		GO386=${GO386} \
 		GOARM=${GOARM_${ARCH}} \
+		CC=${CC} \
 		${SH} make.bash -v
 
 do-install: