From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 135F2158086 for ; Tue, 11 Jan 2022 18:38:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62B7E2BC038; Tue, 11 Jan 2022 18:38:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D91A22BC013 for ; Tue, 11 Jan 2022 18:38:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A450E3430AC for ; Tue, 11 Jan 2022 18:38:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05895239 for ; Tue, 11 Jan 2022 18:38:28 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1641926294.743f726479d8f20dc7e13f6d54f83bab4d71c70f.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/syncthing/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/syncthing/syncthing-1.18.5.ebuild X-VCS-Directories: net-p2p/syncthing/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 743f726479d8f20dc7e13f6d54f83bab4d71c70f X-VCS-Branch: master Date: Tue, 11 Jan 2022 18:38:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4db4c078-7528-4f39-a2db-40d3308989dc X-Archives-Hash: 665ff2c72f9d57884db4c673f9b80b3a commit: 743f726479d8f20dc7e13f6d54f83bab4d71c70f Author: Alexandra Parker gmail com> AuthorDate: Sat Jan 8 07:09:42 2022 +0000 Commit: Marek Szuba gentoo 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 gmail.com> Signed-off-by: Marek Szuba 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() {