summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2015-08-30 16:50:00 +0000
committerSteve Wills <swills@FreeBSD.org>2015-08-30 16:50:00 +0000
commite85d3652e73601138cf017af292e3b0191793543 (patch)
treeece529cba6602c019f547fc8c37fd8b77db4f752 /sysutils
parentFix build by using Go 1.4 until upstream supports Go 1.5 (diff)
Fix build by using Go 1.4 until upstream supports Go 1.5
Notes
Notes: svn path=/head/; revision=395627
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/serf/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/serf/Makefile b/sysutils/serf/Makefile
index db04089ca78f..6e411a6304c6 100644
--- a/sysutils/serf/Makefile
+++ b/sysutils/serf/Makefile
@@ -11,7 +11,7 @@ COMMENT= Service discovery and configuration made easy
LICENSE= MPL
-BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
+BUILD_DEPENDS= go14>=1.4:${PORTSDIR}/lang/go14
USE_GITHUB= yes
GH_ACCOUNT= hashicorp:DEFAULT,go_msgpack,go_syslog,go_net,logutils,mdns,memberlist \
@@ -76,7 +76,9 @@ post-patch:
${WRKSRC}/src/code.google.com/p/go.net
do-build:
- @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -o bin/${PORTNAME}
+ @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; \
+ ${SETENV} PATH=${PATH}:${LOCALBASE}/go14/bin ${BUILD_ENV} GOPATH=${WRKSRC} \
+ go build -o bin/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}