Index: branches/2019Q2/sysutils/consul-replicate/Makefile =================================================================== --- branches/2019Q2/sysutils/consul-replicate/Makefile (revision 497513) +++ branches/2019Q2/sysutils/consul-replicate/Makefile (revision 497514) @@ -1,56 +1,54 @@ # $FreeBSD$ PORTNAME= consul-replicate PORTVERSION= 0.4.0 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= jhixson@FreeBSD.org 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 USE_GITHUB= yes GH_ACCOUNT= hashicorp GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} USE_RC_SUBR= consul-replicate PLIST_FILES= bin/${PORTNAME} USERS= consul GROUPS= consul post-extract: @${MV} ${WRKSRC}/vendor/ ${WRKSRC}/src/ 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 \ -X github.com/${GH_ACCOUNT}/${PORTNAME}/version.GitDescribe=v${PORTVERSION} \ " -o bin/${PORTNAME} do-install: ${INSTALL_PROGRAM} \ ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/bin/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include # golang assumes that if clang is in use, it is called "clang" and not "cc". If # it's called "cc", go fails. .if ${COMPILER_TYPE} == clang BUILD_ENV= CC=clang .endif .include Index: branches/2019Q2 =================================================================== --- branches/2019Q2 (revision 497513) +++ branches/2019Q2 (revision 497514) Property changes on: branches/2019Q2 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r497513