pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/mongo-tools



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu May 14 19:09:40 UTC 2020

Modified Files:
        pkgsrc/databases/mongo-tools: Makefile

Log Message:
Honor pkgsrc environment to not write to real HOME


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/databases/mongo-tools/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/mongo-tools/Makefile
diff -u pkgsrc/databases/mongo-tools/Makefile:1.18 pkgsrc/databases/mongo-tools/Makefile:1.19
--- pkgsrc/databases/mongo-tools/Makefile:1.18  Sat Jan 18 21:48:56 2020
+++ pkgsrc/databases/mongo-tools/Makefile       Thu May 14 19:09:40 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2020/01/18 21:48:56 jperkin Exp $
+# $NetBSD: Makefile,v 1.19 2020/05/14 19:09:40 joerg Exp $
 
 DISTNAME=      mongo-tools-3.4.23
 PKGREVISION=   1
@@ -37,10 +37,12 @@ post-extract:
        ${LN} -s ${WRKSRC}/vendor/${site} ${WRKSRC}/vendor/src/${site}
 .endfor
 
+MAKE_ENV+=     GOPATH=${WRKSRC}:${WRKSRC}/vendor:${PREFIX}/gopkg
+
 do-build:
 .for tool in ${MONGO_TOOLS}
        cd ${WRKSRC} && \
-         ${SETENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor:${PREFIX}/gopkg \
+         ${PKGSRC_SETENV} ${MAKE_ENV} \
          ${GO} build -tags "${MONGO_TAGS}" -o bin/${tool} ${tool}/main/${tool}.go
 .endfor
 



Home | Main Index | Thread Index | Old Index