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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C7BCD1382C5 for ; Fri, 7 May 2021 18:56:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01E25E0845; Fri, 7 May 2021 18:56:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E1401E0828 for ; Fri, 7 May 2021 18:56:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9754340D87 for ; Fri, 7 May 2021 18:56:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1768074F for ; Fri, 7 May 2021 18:56:40 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1620413796.f80a745a69eaad680c12650913c2c2939b8aaa50.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/grfcodec/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/grfcodec/grfcodec-6.0.6_p20210310.ebuild X-VCS-Directories: games-util/grfcodec/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: f80a745a69eaad680c12650913c2c2939b8aaa50 X-VCS-Branch: master Date: Fri, 7 May 2021 18:56:40 +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: e92570ba-edb6-436f-848d-aef8046d3132 X-Archives-Hash: 7a3e5791862c828c690f0cfad1bf2df6 commit: f80a745a69eaad680c12650913c2c2939b8aaa50 Author: Sergei Trofimovich gentoo org> AuthorDate: Fri May 7 18:56:23 2021 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Fri May 7 18:56:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80a745a games-util/grfcodec: don't rely on git presence Reported-by: Lars Wendler (Polynomial-C) Closes: https://bugs.gentoo.org/788724 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich gentoo.org> games-util/grfcodec/grfcodec-6.0.6_p20210310.ebuild | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/games-util/grfcodec/grfcodec-6.0.6_p20210310.ebuild b/games-util/grfcodec/grfcodec-6.0.6_p20210310.ebuild index d4fd24bff44..29b89e829a3 100644 --- a/games-util/grfcodec/grfcodec-6.0.6_p20210310.ebuild +++ b/games-util/grfcodec/grfcodec-6.0.6_p20210310.ebuild @@ -25,6 +25,18 @@ DEPEND=" S="${WORKDIR}/grfcodec-${COMMIT}" +src_configure() { + local mycmakeargs=( + # Make sure we don't use git by accident. + # Build system does not care much if it's + # executed successfully and populates + # YEARS / VERSION with empty values. + -DGIT_EXECUTABLE=/bin/do-not-use-git-executable + ) + + cmake_src_configure +} + src_install() { dobin "${BUILD_DIR}"/{grfcodec,grfid,grfstrip,nforenum} doman docs/*.1