diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2018-07-08 13:54:39 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2018-07-08 13:54:39 +0000 |
commit | c69ab2c6dafc67cec3878792f432dda2ff4f495b (patch) | |
tree | 55799ba43763b9b73eba27093bab080a5fce0d9b /databases/mongo-tools/Makefile | |
parent | 186e1755be6cdf59bff519ec9de17030341c58e8 (diff) | |
download | pkgsrc-c69ab2c6dafc67cec3878792f432dda2ff4f495b.tar.gz |
Do not use "naked" go invocations.
Use ${GO} instead.
Diffstat (limited to 'databases/mongo-tools/Makefile')
-rw-r--r-- | databases/mongo-tools/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/mongo-tools/Makefile b/databases/mongo-tools/Makefile index 8dc677835f7..525cbf3a054 100644 --- a/databases/mongo-tools/Makefile +++ b/databases/mongo-tools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2018/06/12 17:50:27 bsiegert Exp $ +# $NetBSD: Makefile,v 1.14 2018/07/08 13:54:39 bsiegert Exp $ DISTNAME= mongo-tools-3.4.4 PKGREVISION= 1 @@ -37,7 +37,7 @@ do-build: .for tool in ${MONGO_TOOLS} cd ${WRKSRC} && \ ${SETENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor:${PREFIX}/gopkg \ - go build -tags "${MONGO_TAGS}" -o bin/${tool} ${tool}/main/${tool}.go + ${GO} build -tags "${MONGO_TAGS}" -o bin/${tool} ${tool}/main/${tool}.go .endfor do-install: @@ -45,6 +45,6 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${tool} ${DESTDIR}${PREFIX}/bin/${tool} .endfor -.include "../../devel/go-sys/buildlink3.mk" .include "../../lang/go/version.mk" +.include "../../devel/go-sys/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |