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 AA31B15800F for ; Sat, 4 Feb 2023 10:31:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF29AE0729; Sat, 4 Feb 2023 10:31:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C32A9E0729 for ; Sat, 4 Feb 2023 10:31:55 +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 AEAE2340DBA for ; Sat, 4 Feb 2023 10:31:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D530D891 for ; Sat, 4 Feb 2023 10:31:52 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1675506321.0cdae8c25de4525ca0ef880e2c2deb58d4e17d9c.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-shells/antibody/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-shells/antibody/antibody-6.1.1-r1.ebuild X-VCS-Directories: app-shells/antibody/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 0cdae8c25de4525ca0ef880e2c2deb58d4e17d9c X-VCS-Branch: dev Date: Sat, 4 Feb 2023 10:31:52 +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: 41b587ce-a6d6-417b-97a8-3f830feb112c X-Archives-Hash: 7d0d69e3bccbef0e71d82cab2826c635 commit: 0cdae8c25de4525ca0ef880e2c2deb58d4e17d9c Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Sat Feb 4 10:10:10 2023 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Sat Feb 4 10:25:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0cdae8c2 app-shells/antibody: Don't build with -pie when testing Closes: https://bugs.gentoo.org/893190 Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> app-shells/antibody/antibody-6.1.1-r1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app-shells/antibody/antibody-6.1.1-r1.ebuild b/app-shells/antibody/antibody-6.1.1-r1.ebuild index 70fdaf8f4..9c65147e7 100644 --- a/app-shells/antibody/antibody-6.1.1-r1.ebuild +++ b/app-shells/antibody/antibody-6.1.1-r1.ebuild @@ -52,11 +52,19 @@ SRC_URI=" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-vcs/git" PATCHES=( "${FILESDIR}/${PN}-6.1.1_remove-failing-tests.patch" ) +src_configure() { + if use test; then + GOFLAGS="${GOFLAGS/-buildmode=pie/-buildmode=exe}" # bug 893190 + fi +} + src_compile() { local -a mygoargs=( -ldflags "-X main.version=${PV}"