svn commit: r395626 - head/net/syncthing-discosrv
Steve Wills
swills at FreeBSD.org
Sun Aug 30 16:38:48 UTC 2015
Author: swills
Date: Sun Aug 30 16:38:47 2015
New Revision: 395626
URL: https://svnweb.freebsd.org/changeset/ports/395626
Log:
Fix build by using Go 1.4 until upstream supports Go 1.5
Modified:
head/net/syncthing-discosrv/Makefile
Modified: head/net/syncthing-discosrv/Makefile
==============================================================================
--- head/net/syncthing-discosrv/Makefile Sun Aug 30 16:17:43 2015 (r395625)
+++ head/net/syncthing-discosrv/Makefile Sun Aug 30 16:38:47 2015 (r395626)
@@ -9,7 +9,7 @@ CATEGORIES= net
MAINTAINER= swills at FreeBSD.org
COMMENT= Discovery server for syncthing
-BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
+BUILD_DEPENDS= go14>=1.4:${PORTSDIR}/lang/go14
USE_GITHUB= yes
GH_ACCOUNT= syncthing golang:gc
@@ -34,7 +34,8 @@ post-patch:
${WRKSRC}/src/github.com/golang/groupcache
do-build:
- @cd ${WRKSRC} ; ${SETENV} GOPATH=${WRKSRC} go build
+ @cd ${WRKSRC} ; ${SETENV} PATH=${PATH}:${LOCALBASE}/go14/bin \
+ GOPATH=${WRKSRC} go build
@${MV} ${WRKSRC}/discosrv-${GH_TAGNAME} ${WRKSRC}/syncthing-discosrv
do-install:
More information about the svn-ports-all
mailing list