aboutsummaryrefslogtreecommitdiff
path: root/lang/go
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-08-04 00:42:14 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-08-04 00:42:14 +0000
commit659a6d4cf5c33b1a13e53cbd69196b8267627b66 (patch)
tree5bcd34e8e01fda81120e6129a4f5c311311ddd61 /lang/go
parent6d726bc84e3e21e233d98c7bd4eee797909f0e54 (diff)
downloadports-659a6d4cf5c33b1a13e53cbd69196b8267627b66.tar.gz
ports-659a6d4cf5c33b1a13e53cbd69196b8267627b66.zip
Notes
Diffstat (limited to 'lang/go')
-rw-r--r--lang/go/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/go/Makefile b/lang/go/Makefile
index faf6a9f4ce91..599497e2f18f 100644
--- a/lang/go/Makefile
+++ b/lang/go/Makefile
@@ -24,6 +24,7 @@ sh_OLD_CMD= ${SETENV} bash
sh_CMD= ${SH}
WRKSRC= ${WRKDIR}/go
+USE_GCC= any
ONLY_FOR_ARCHS= i386 amd64
SUB_FILES= pkg-message
SUB_LIST+= GOOBJ=${GOOBJ} \
@@ -50,6 +51,7 @@ post-patch:
do-build:
cd ${WRKSRC}/src && \
+ CC=${CC} \
GOROOT=${WRKSRC} GOROOT_FINAL=${PREFIX}/go \
GOBIN= GOARCH=${GOARCH} GOOS=${OPSYS:L} \
${SH} make.bash