mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
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:
parent
f3ace4251b
commit
b92eb0deda
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395390
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user