diff options
author | Takuya Wakazono <pastalian46@gmail.com> | 2024-01-16 22:14:57 +0900 |
---|---|---|
committer | Takuya Wakazono <pastalian46@gmail.com> | 2024-01-16 22:14:57 +0900 |
commit | 96797a326c475aab999f4ba12e16ea3ec899431f (patch) | |
tree | 99550d06ac92dca57835c62ddc3bc5668263280c /dev-lang/harec | |
parent | net-client/lagrange: add 1.17.6 (diff) | |
download | guru-96797a326c475aab999f4ba12e16ea3ec899431f.tar.gz guru-96797a326c475aab999f4ba12e16ea3ec899431f.tar.bz2 guru-96797a326c475aab999f4ba12e16ea3ec899431f.zip |
dev-lang/harec: update live
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'dev-lang/harec')
-rw-r--r-- | dev-lang/harec/harec-9999.ebuild | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/dev-lang/harec/harec-9999.ebuild b/dev-lang/harec/harec-9999.ebuild index 642536806..0abae65c8 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 } |