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 3B18D15838C for ; Tue, 16 Jan 2024 13:54:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78B21E2AF3; Tue, 16 Jan 2024 13:54:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 5859DE2AF1 for ; Tue, 16 Jan 2024 13:54:50 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 538AB3432DA for ; Tue, 16 Jan 2024 13:54:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 888F414B6 for ; Tue, 16 Jan 2024 13:54:46 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1705410897.96797a326c475aab999f4ba12e16ea3ec899431f.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-lang/harec/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-lang/harec/harec-9999.ebuild X-VCS-Directories: dev-lang/harec/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 96797a326c475aab999f4ba12e16ea3ec899431f X-VCS-Branch: master Date: Tue, 16 Jan 2024 13:54:46 +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: 8a10e987-8ad5-4d1f-9e3a-a47cb04af02a X-Archives-Hash: 5b330d386b557629ea66b8ab4052a6fc commit: 96797a326c475aab999f4ba12e16ea3ec899431f Author: Takuya Wakazono gmail com> AuthorDate: Tue Jan 16 13:14:57 2024 +0000 Commit: David Roman gmail com> CommitDate: Tue Jan 16 13:14:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96797a32 dev-lang/harec: update live Signed-off-by: Takuya Wakazono gmail.com> dev-lang/harec/harec-9999.ebuild | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/dev-lang/harec/harec-9999.ebuild b/dev-lang/harec/harec-9999.ebuild index 6425368069..0abae65c87 100644 --- a/dev-lang/harec/harec-9999.ebuild +++ b/dev-lang/harec/harec-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,13 +6,11 @@ EAPI=8 if [[ "${PV}" = "9999" ]]; then inherit git-r3 EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/harec" - S="${WORKDIR}/${P}/build" else - EGIT_COMMIT="dac4cd7c49c8d0539e8aefda4a812dff522c86a9" + EGIT_COMMIT="770566a51aa972c320b545d2292626057aabe831" MY_P="${PN}-${EGIT_COMMIT}" SRC_URI="https://git.sr.ht/~sircmpwn/harec/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz" - S="${WORKDIR}/${MY_P}/build" - + S="${WORKDIR}/${MY_P}" KEYWORDS="~amd64 ~arm64 ~riscv" fi @@ -21,23 +19,17 @@ HOMEPAGE="https://harelang.org/" LICENSE="GPL-3" SLOT="0" -DEPEND=">=sys-devel/qbe-1.1" +# sys-devel/qbe-1.1-r1 won't build a proper binary. +DEPEND="~sys-devel/qbe-9999" RDEPEND="${DEPEND}" -src_unpack() { - default - - [[ "${PV}" = "9999" ]] && git-r3_src_unpack - - mkdir "${S}" || die -} - src_prepare() { default - sed -i 's; -Werror ; ;' ../config.sh || die + cp configs/linux.mk config.mk || die + sed -i 's/-Werror//' config.mk || die } -src_configure() { - ../configure --prefix="/usr" --libdir="/usr/$(get_libdir)" || die +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install }