Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2015 16:38:47 +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: r395626 - head/net/syncthing-discosrv
Message-ID:  <201508301638.t7UGclDm027870@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508301638.t7UGclDm027870>