diff options
author | Takuya Wakazono <pastalian46@gmail.com> | 2024-01-16 22:22:39 +0900 |
---|---|---|
committer | Takuya Wakazono <pastalian46@gmail.com> | 2024-01-16 22:22:39 +0900 |
commit | 2d58ea50414e5a47e6b5550f6eb8276c72ab04c5 (patch) | |
tree | 183a613134ee21a8e420a4c49f5235f24853bc1b /dev-lang/hare | |
parent | dev-lang/harec: update live (diff) | |
download | guru-2d58ea50414e5a47e6b5550f6eb8276c72ab04c5.tar.gz guru-2d58ea50414e5a47e6b5550f6eb8276c72ab04c5.tar.bz2 guru-2d58ea50414e5a47e6b5550f6eb8276c72ab04c5.zip |
dev-lang/hare: update live
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'dev-lang/hare')
-rw-r--r-- | dev-lang/hare/hare-9999.ebuild | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/dev-lang/hare/hare-9999.ebuild b/dev-lang/hare/hare-9999.ebuild index 4330b9e1b..208f3b7ac 100644 --- a/dev-lang/hare/hare-9999.ebuild +++ b/dev-lang/hare/hare-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 @@ -8,12 +8,11 @@ if [[ "${PV}" = 9999 ]]; then EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare" SLOT="0" else - EGIT_COMMIT="82213191adc25137c704df4786a71bce40b6079f" + EGIT_COMMIT="29fbde4fe95db7da3ee54882f3a29a10aea53b8d" MY_P="${PN}-${EGIT_COMMIT}" SRC_URI="https://git.sr.ht/~sircmpwn/hare/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" SLOT="0/${PV}" - KEYWORDS="~amd64 ~arm64 ~riscv" fi @@ -22,12 +21,10 @@ HOMEPAGE="https://harelang.org/" LICENSE="MPL-2.0 GPL-3" DEPEND=" - sys-devel/qbe - >=dev-lang/harec-0_pre20220702 -" -BDEPEND=" - app-text/scdoc + ~dev-lang/harec-9999 + ~sys-devel/qbe-9999 " +BDEPEND="app-text/scdoc" RDEPEND="${DEPEND}" # hare and haredoc are built by hare @@ -44,14 +41,12 @@ src_configure() { cp configs/linux.mk config.mk || die sed -i \ - -e 's;=aarch64-;=;' \ - -e 's;=riscv64-;=;' \ -e "s;^ARCH =.*;ARCH = ${target_arch};" \ - -e 's;^PREFIX =.*;PREFIX = /usr;' \ -e 's;^AS =;AS ?=;' \ -e 's;^LD =;LD ?=;' \ - -e 's;^AR =;AR ?=;' \ config.mk || die +} - sed -i 's; $(DESTDIR)$(LOCALSRCDIR);;' Makefile || die +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install } |