diff options
author | swills <swills@FreeBSD.org> | 2015-08-31 00:38:47 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2015-08-31 00:38:47 +0800 |
commit | c68dbba3f58bb6d7d58102357c89ac923ef5c4d7 (patch) | |
tree | e4e95df493caa773c13c08946cd8feb57a4ceba2 /net | |
parent | 7e52481b06330ac57efce42b3b4f80329ea05e92 (diff) | |
download | freebsd-ports-gnome-c68dbba3f58bb6d7d58102357c89ac923ef5c4d7.tar.gz freebsd-ports-gnome-c68dbba3f58bb6d7d58102357c89ac923ef5c4d7.tar.zst freebsd-ports-gnome-c68dbba3f58bb6d7d58102357c89ac923ef5c4d7.zip |
Fix build by using Go 1.4 until upstream supports Go 1.5
Diffstat (limited to 'net')
-rw-r--r-- | net/syncthing-discosrv/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/syncthing-discosrv/Makefile b/net/syncthing-discosrv/Makefile index 0671b893592b..c33f7b502059 100644 --- a/net/syncthing-discosrv/Makefile +++ b/net/syncthing-discosrv/Makefile @@ -9,7 +9,7 @@ CATEGORIES= net MAINTAINER= swills@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: |