Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2015 18:50:02 +0000 (UTC)
From:      Julien Laffaye <jlaffaye@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395390 - head/lang/go/files
Message-ID:  <201508261850.t7QIo2Tg096711@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jlaffaye
Date: Wed Aug 26 18:50:02 2015
New Revision: 395390
URL: https://svnweb.freebsd.org/changeset/ports/395390

Log:
  Force GOBIN to the empty string.
  
  If GOBIN is already defined in the environment,
  it can break ports using bsd.go.mk
  
  PR:		202675

Modified:
  head/lang/go/files/bsd.go.mk

Modified: head/lang/go/files/bsd.go.mk
==============================================================================
--- head/lang/go/files/bsd.go.mk	Wed Aug 26 18:26:14 2015	(r395389)
+++ head/lang/go/files/bsd.go.mk	Wed Aug 26 18:50:02 2015	(r395390)
@@ -44,7 +44,8 @@ GO_WRKDIR_PKG=	${WRKDIR}/pkg/freebsd_${G
 BUILD_DEPENDS+=	${GO_CMD}:${PORTSDIR}/lang/go
 GO_ENV+=	GOPATH="${WRKDIR}:${LOCAL_GOPATH}" \
 		CGO_CFLAGS="${CGO_CFLAGS}" \
-		CGO_LDFLAGS="${CGO_LDFLAGS}"
+		CGO_LDFLAGS="${CGO_LDFLAGS}" \
+		GOBIN=""
 PLIST_SUB+=	GO_LIBDIR=${GO_LIBDIR} \
 		GO_SRCDIR=${GO_SRCDIR} \
 		GO_PKGNAME=${GO_PKGNAME}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508261850.t7QIo2Tg096711>