From c8c1f5c254e2d89e7a4fa854cf1f31be4fc25bb0 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Thu, 13 Jan 2022 10:43:21 +0000 Subject: net-p2p/syncthing: Revert "support cross compilation" Turns out this breaks USE=tools. This reverts commit 743f726479d8f20dc7e13f6d54f83bab4d71c70f. Closes: https://bugs.gentoo.org/831099 Signed-off-by: Marek Szuba --- net-p2p/syncthing/syncthing-1.18.5.ebuild | 4 +--- net-p2p/syncthing/syncthing-1.18.6.ebuild | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/net-p2p/syncthing/syncthing-1.18.5.ebuild b/net-p2p/syncthing/syncthing-1.18.5.ebuild index fd83398eff20..cd3d65664324 100644 --- a/net-p2p/syncthing/syncthing-1.18.5.ebuild +++ b/net-p2p/syncthing/syncthing-1.18.5.ebuild @@ -828,10 +828,8 @@ src_prepare() { } src_compile() { - go run build.go -version "v${PV}" -no-upgrade build \ + go run build.go -version "v${PV}" -no-upgrade install \ $(usex tools "all" "") || die "build failed" - mkdir bin || die - mv "${PN}$(go env GOEXE)" bin/ || die } src_test() { diff --git a/net-p2p/syncthing/syncthing-1.18.6.ebuild b/net-p2p/syncthing/syncthing-1.18.6.ebuild index 6df612469482..60872181cf9e 100644 --- a/net-p2p/syncthing/syncthing-1.18.6.ebuild +++ b/net-p2p/syncthing/syncthing-1.18.6.ebuild @@ -828,10 +828,8 @@ src_prepare() { } src_compile() { - go run build.go -version "v${PV}" -no-upgrade build \ + go run build.go -version "v${PV}" -no-upgrade install \ $(usex tools "all" "") || die "build failed" - mkdir bin || die - mv "${PN}$(go env GOEXE)" bin/ || die } src_test() { -- cgit v1.2.3-65-gdbad