diff options
author | jlaffaye <jlaffaye@FreeBSD.org> | 2015-08-27 02:50:02 +0800 |
---|---|---|
committer | jlaffaye <jlaffaye@FreeBSD.org> | 2015-08-27 02:50:02 +0800 |
commit | 3e075eb0c062461e58c89f47dd84d72e052b7271 (patch) | |
tree | 880d02d72944e4e0ff973b1ca9f074e7189d213e /lang/go | |
parent | fea9d1549c6cd7bd647cc41105acd78648f9c431 (diff) | |
download | freebsd-ports-gnome-3e075eb0c062461e58c89f47dd84d72e052b7271.tar.gz freebsd-ports-gnome-3e075eb0c062461e58c89f47dd84d72e052b7271.tar.zst freebsd-ports-gnome-3e075eb0c062461e58c89f47dd84d72e052b7271.zip |
Force GOBIN to the empty string.
If GOBIN is already defined in the environment,
it can break ports using bsd.go.mk
PR: 202675
Diffstat (limited to 'lang/go')
-rw-r--r-- | lang/go/files/bsd.go.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/go/files/bsd.go.mk b/lang/go/files/bsd.go.mk index 0e3e1ed22573..1167282b92c1 100644 --- a/lang/go/files/bsd.go.mk +++ b/lang/go/files/bsd.go.mk @@ -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} |