Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/syncthing/
Date: Tue, 11 Jan 2022 18:38:33
Message-Id: 1641926294.743f726479d8f20dc7e13f6d54f83bab4d71c70f.marecki@gentoo
1 commit: 743f726479d8f20dc7e13f6d54f83bab4d71c70f
2 Author: Alexandra Parker <alex.iris.parker <AT> gmail <DOT> com>
3 AuthorDate: Sat Jan 8 07:09:42 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 11 18:38:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=743f7264
7
8 net-p2p/syncthing: support cross compilation
9
10 Closes: https://github.com/gentoo/gentoo/pull/23693
11 Package-Manager: Portage-3.0.30, Repoman-3.0.3
12 Signed-off-by: Alexandra Parker <alex.iris.parker <AT> gmail.com>
13 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
14
15 net-p2p/syncthing/syncthing-1.18.5.ebuild | 6 ++++--
16 1 file changed, 4 insertions(+), 2 deletions(-)
17
18 diff --git a/net-p2p/syncthing/syncthing-1.18.5.ebuild b/net-p2p/syncthing/syncthing-1.18.5.ebuild
19 index c7614a65ba08..097eb15a959f 100644
20 --- a/net-p2p/syncthing/syncthing-1.18.5.ebuild
21 +++ b/net-p2p/syncthing/syncthing-1.18.5.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 +# Copyright 1999-2022 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=8
28 @@ -828,8 +828,10 @@ src_prepare() {
29 }
30
31 src_compile() {
32 - go run build.go -version "v${PV}" -no-upgrade install \
33 + go run build.go -version "v${PV}" -no-upgrade build \
34 $(usex tools "all" "") || die "build failed"
35 + mkdir bin || die
36 + mv "${PN}$(go env GOEXE)" bin/ || die
37 }
38
39 src_test() {