Date: Mon, 1 Apr 2019 20:09:48 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r497514 - branches/2019Q2/sysutils/consul-replicate Message-ID: <201904012009.x31K9mBP027905@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Mon Apr 1 20:09:48 2019 New Revision: 497514 URL: https://svnweb.freebsd.org/changeset/ports/497514 Log: MFH: r497513 sysutils/consul-replicate: Unbreak build with Go 1.12 - Remove GOCACHE=off as build cache is required starting from Go 1.12 [1] - Pass MAKE_ENV (so GOCACHE defaults to $WRKDIR/.cache) [1] https://tip.golang.org/doc/go1.12#gocache PR: 236033 Submitted by: Dmitri Goutnik <dg@syrec.org> Approved by: jhixson (maintainer) Approved by: ports-secteam build fix blanket Modified: branches/2019Q2/sysutils/consul-replicate/Makefile Directory Properties: branches/2019Q2/ (props changed) Modified: branches/2019Q2/sysutils/consul-replicate/Makefile ============================================================================== --- branches/2019Q2/sysutils/consul-replicate/Makefile Mon Apr 1 20:09:04 2019 (r497513) +++ branches/2019Q2/sysutils/consul-replicate/Makefile Mon Apr 1 20:09:48 2019 (r497514) @@ -11,8 +11,6 @@ COMMENT= Consul cross-DC KV replication daemon LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN= fails to build - BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USES= compiler @@ -33,7 +31,7 @@ post-extract: do-build: @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; \ - ${SETENV} CGO_ENABLED=0 ${BUILD_ENV} GOCACHE=off GOPATH=${WRKSRC} \ + ${SETENV} CGO_ENABLED=0 ${BUILD_ENV} ${MAKE_ENV} GOPATH=${WRKSRC} \ go build -v -x -ldflags "\ -X github.com/${GH_ACCOUNT}/${PORTNAME}/version.Version=${PORTVERSION} \ -X github.com/${GH_ACCOUNT}/${PORTNAME}/version.GitCommit=675a2c2 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904012009.x31K9mBP027905>