svn commit: r395627 - head/sysutils/serf
Steve Wills
swills at FreeBSD.org
Sun Aug 30 16:50:01 UTC 2015
Author: swills
Date: Sun Aug 30 16:50:00 2015
New Revision: 395627
URL: https://svnweb.freebsd.org/changeset/ports/395627
Log:
Fix build by using Go 1.4 until upstream supports Go 1.5
Modified:
head/sysutils/serf/Makefile
Modified: head/sysutils/serf/Makefile
==============================================================================
--- head/sysutils/serf/Makefile Sun Aug 30 16:38:47 2015 (r395626)
+++ head/sysutils/serf/Makefile Sun Aug 30 16:50:00 2015 (r395627)
@@ -11,7 +11,7 @@ COMMENT= Service discovery and configura
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}
More information about the svn-ports-head
mailing list