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)
This commit is contained in:
parent
3821188727
commit
bb05e08a40
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464513
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user