svn commit: r324213 - head/lang/go

Baptiste Daroussin bapt at FreeBSD.org
Sun Aug 4 00:42:14 UTC 2013


Author: bapt
Date: Sun Aug  4 00:42:14 2013
New Revision: 324213
URL: http://svnweb.freebsd.org/changeset/ports/324213

Log:
  Add USE_GCC=any as build fails with clang.
  Pass CC to build env to properly using the compiler desired
  This fixes build on head without gcc

Modified:
  head/lang/go/Makefile

Modified: head/lang/go/Makefile
==============================================================================
--- head/lang/go/Makefile	Sun Aug  4 00:08:23 2013	(r324212)
+++ head/lang/go/Makefile	Sun Aug  4 00:42:14 2013	(r324213)
@@ -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


More information about the svn-ports-all mailing list