net-p2p/syncthing: set version number during build process
authorDirkjan Ochtman <djc@gentoo.org>
Mon, 8 Feb 2016 08:34:18 +0000 (09:34 +0100)
committerDirkjan Ochtman <djc@gentoo.org>
Mon, 8 Feb 2016 08:34:49 +0000 (09:34 +0100)
As suggested by Dennis Schridde.

Package-Manager: portage-2.2.26

net-p2p/syncthing/syncthing-0.12.17-r1.ebuild [moved from net-p2p/syncthing/syncthing-0.12.17.ebuild with 93% similarity]

similarity index 93%
rename from net-p2p/syncthing/syncthing-0.12.17.ebuild
rename to net-p2p/syncthing/syncthing-0.12.17-r1.ebuild
index 605263a8faeae379d9b85c046f53b265d9672ceb..679860a8f5cbb61b730cfb2d7b88c849c5691917 100644 (file)
@@ -24,7 +24,7 @@ RDEPEND=""
 src_compile() {
        export GOPATH="${S}:$(get_golibdir_gopath)"
        cd src/${EGO_PN}
-       go run build.go || die "build failed"
+       go run build.go -version "${PV}" || die "build failed"
 }
 
 #go test: -race is only supported on amd64 platforms