Index: head/net/syncthing-discosrv/Makefile =================================================================== --- head/net/syncthing-discosrv/Makefile (revision 395625) +++ head/net/syncthing-discosrv/Makefile (revision 395626) @@ -1,43 +1,44 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= syncthing-discosrv PORTVERSION= 0.0.0.2015062601 PORTREVISION= 3 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 GH_PROJECT= discosrv syncthing:st groupcache:gc GH_TAGNAME= 4c705ff v${SYNCTHING_VER}:st 604ed57:gc SYNCTHING_VER= 0.11.18 PLIST_FILES= bin/syncthing-discosrv USE_RC_SUBR= syncthing-discosrv USERS= syncthing GROUPS= syncthing STRIP= # stripping can break go binaries post-patch: @${MV} ${WRKSRC_st}/Godeps/_workspace/src/ ${WRKSRC} @${MKDIR} ${WRKSRC}/src/github.com/golang @${MV} ${WRKSRC_st} ${WRKSRC}/src/github.com/syncthing/syncthing @${MV} ${WRKSRC_gc} \ ${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: ${INSTALL_PROGRAM} ${WRKSRC}/syncthing-discosrv ${STAGEDIR}${PREFIX}/bin/ .include