svn commit: r464513 - head/security/2fa
Yuri Victorovich
yuri at FreeBSD.org
Wed Mar 14 17:35:45 UTC 2018
Author: yuri
Date: Wed Mar 14 17:35:44 2018
New Revision: 464513
URL: https://svnweb.freebsd.org/changeset/ports/464513
Log:
security/2fa: Unbreak by adding GOCACHE=off
Using ${MAKE_ENV} helped many other Go ports, but not this one.
Now added GOCACHE=off that turns the cache off.
Approved by: portmgr (port compliance, infrastructure)
Modified:
head/security/2fa/Makefile
Modified: head/security/2fa/Makefile
==============================================================================
--- head/security/2fa/Makefile Wed Mar 14 16:29:39 2018 (r464512)
+++ head/security/2fa/Makefile Wed Mar 14 17:35:44 2018 (r464513)
@@ -23,10 +23,10 @@ PLIST_FILES= bin/2fa
PORTDOCS= README.md
do-build:
- @cd ${WRKSRC}/${GH_SUBDIR} && ${SETENV} GOPATH=${WRKSRC} go build -o ${PORTNAME}
+ @cd ${WRKSRC}/${GH_SUBDIR} && ${SETENV} ${MAKE_ENV} GOCACHE=off GOPATH=${WRKSRC} go build -o ${PORTNAME}
do-test:
- @cd ${WRKSRC}/${GH_SUBDIR} && ${SETENV} GOPATH=${WRKSRC} go test
+ @cd ${WRKSRC}/${GH_SUBDIR} && ${SETENV} ${MAKE_ENV} GOCACHE=off GOPATH=${WRKSRC} go test
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
More information about the svn-ports-all
mailing list