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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user