Date: Sun, 30 Aug 2015 16:50:00 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395627 - head/sysutils/serf Message-ID: <201508301650.t7UGo033033131@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508301650.t7UGo033033131>