Date: Sun, 4 Aug 2013 00:42:14 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324213 - head/lang/go Message-ID: <201308040042.r740gEc6033224@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308040042.r740gEc6033224>