diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2015-01-13 21:35:13 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2015-01-13 21:35:13 +0000 |
commit | b6ef1faa03d62f96f2f8ba1c68295f83add4cb3c (patch) | |
tree | 4c16a83ae0f7188137b3ce7dd4384886cc31b144 /lang | |
parent | d37a532eeb7bcec19f0efaeb800dba3e71495587 (diff) | |
download | pkgsrc-b6ef1faa03d62f96f2f8ba1c68295f83add4cb3c.tar.gz |
Add definition for GOTOOLDIR.
This is needed for the go-tools package.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/go/go-package.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/go/go-package.mk b/lang/go/go-package.mk index 614e45206f4..f3125b672e8 100644 --- a/lang/go/go-package.mk +++ b/lang/go/go-package.mk @@ -1,4 +1,4 @@ -# $NetBSD: go-package.mk,v 1.1 2015/01/02 14:04:00 bsiegert Exp $ +# $NetBSD: go-package.mk,v 1.2 2015/01/13 21:35:13 bsiegert Exp $ # # This file implements common logic for compiling Go programs in pkgsrc. # The compiled Go code is tied to a specific compiler version, and the @@ -30,6 +30,8 @@ BUILD_DEPENDS+= go-${GO_VERSION}*:../../lang/go MAKE_JOBS_SAFE= no INSTALLATION_DIRS+= bin gopkg +GOTOOLDIR= ${PREFIX}/go/pkg/tool/${LOWER_OPSYS}_${GOARCH} + post-extract: ${MKDIR} ${WRKSRC} ${RM} -fr ${WRKDIR}/`basename ${GO_DIST_BASE}`/.hg |