Subject: CVS commit: pkgsrc/lang/go
From: Leonardo Taccari
Date: 2018-08-29 12:11:57
Message id: 20180829101158.0800EFBF8@cvs.NetBSD.org

Log Message:
lang/go/go-package: Honor MAKE_ENV and set GOCACHE under WRKDIR

Previously GOCACHE was not passed as environment variable and hence
during the build of packages the cache was stored in `${GO} env
GOCACHE' (${XDG_CACHE_HOME} if defined or ${HOME}/.cache).

Pass GOCACHE so that all cached file will ends up under ${WRKDIR}.

While here also pass both GOPATH and GOCACHE via MAKE_ENV.

Thanks to Antonio Huete Jimenez for spotting this problem!

Discussed and ok by <bsiegert>, thanks!

Files:
RevisionActionfile
1.15modifypkgsrc/lang/go/go-package.mk