commit: 743f726479d8f20dc7e13f6d54f83bab4d71c70f Author: Alexandra Parker <alex.iris.parker <AT> gmail <DOT> com> AuthorDate: Sat Jan 8 07:09:42 2022 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Tue Jan 11 18:38:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=743f7264
net-p2p/syncthing: support cross compilation Closes: https://github.com/gentoo/gentoo/pull/23693 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alexandra Parker <alex.iris.parker <AT> gmail.com> Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> net-p2p/syncthing/syncthing-1.18.5.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net-p2p/syncthing/syncthing-1.18.5.ebuild b/net-p2p/syncthing/syncthing-1.18.5.ebuild index c7614a65ba08..097eb15a959f 100644 --- a/net-p2p/syncthing/syncthing-1.18.5.ebuild +++ b/net-p2p/syncthing/syncthing-1.18.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -828,8 +828,10 @@ src_prepare() { } src_compile() { - go run build.go -version "v${PV}" -no-upgrade install \ + go run build.go -version "v${PV}" -no-upgrade build \ $(usex tools "all" "") || die "build failed" + mkdir bin || die + mv "${PN}$(go env GOEXE)" bin/ || die } src_test() {