Date: Wed, 14 Mar 2018 17:35:44 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464513 - head/security/2fa Message-ID: <201803141735.w2EHZije071341@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803141735.w2EHZije071341>