Force GOBIN to the empty string.

If GOBIN is already defined in the environment,
it can break ports using bsd.go.mk

PR:		202675
This commit is contained in:
Julien Laffaye 2015-08-26 18:50:02 +00:00
parent f3ace4251b
commit b92eb0deda
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395390

View file

@ -44,7 +44,8 @@ GO_WRKDIR_PKG= ${WRKDIR}/pkg/freebsd_${GOARCH}
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}