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 7C0721382C5 for ; Sun, 20 Jun 2021 10:05:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D14AE0C30; Sun, 20 Jun 2021 10:02:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 75FFAE0C30 for ; Sun, 20 Jun 2021 10:02:37 +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 2C269340815 for ; Sun, 20 Jun 2021 10:02:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 656BE7A1 for ; Sun, 20 Jun 2021 10:02:34 +0000 (UTC) From: "Matt Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Smith" Message-ID: <1624183350.1c4bd883b72fee8aeb49afc3f854b75b98e64af5.MattSmith@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-scheme/chez/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-scheme/chez/chez-9.5.4.ebuild X-VCS-Directories: dev-scheme/chez/ X-VCS-Committer: MattSmith X-VCS-Committer-Name: Matt Smith X-VCS-Revision: 1c4bd883b72fee8aeb49afc3f854b75b98e64af5 X-VCS-Branch: dev Date: Sun, 20 Jun 2021 10:02:34 +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: 2fa53b43-fb38-410c-af86-1d8c2914d66e X-Archives-Hash: 0785ed8dda35fdf2b5e2688b80a10087 commit: 1c4bd883b72fee8aeb49afc3f854b75b98e64af5 Author: Matt Smith offtopica uk> AuthorDate: Sun Jun 20 08:09:44 2021 +0000 Commit: Matt Smith offtopica uk> CommitDate: Sun Jun 20 10:02:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c4bd883 dev-scheme/chez: Add threads USE flag Also add MY_PN variable to tidy up ebuild. Suggested-by: Maciej Barć riseup.net> Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Matt Smith offtopica.uk> dev-scheme/chez/chez-9.5.4.ebuild | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/dev-scheme/chez/chez-9.5.4.ebuild b/dev-scheme/chez/chez-9.5.4.ebuild index 6463a0c05..3276978f7 100644 --- a/dev-scheme/chez/chez-9.5.4.ebuild +++ b/dev-scheme/chez/chez-9.5.4.ebuild @@ -3,21 +3,25 @@ EAPI=7 +MY_PN="csv" +MY_P="${MY_PN}${PV}" + DESCRIPTION="A programming language based on R6RS" HOMEPAGE="https://cisco.github.io/ChezScheme/ https://github.com/cisco/ChezScheme" -SRC_URI="https://github.com/cisco/ChezScheme/releases/download/v${PV}/csv${PV}.tar.gz" +SRC_URI="https://github.com/cisco/ChezScheme/releases/download/v${PV}/${MY_P}.tar.gz" # Chez Scheme itself is Apache 2.0, but it vendors LZ4 (BSD-2), # Nanopass (MIT), stex (MIT), and zlib (ZLIB). LICENSE="Apache-2.0 BSD-2 MIT ZLIB" SLOT="0" KEYWORDS="~amd64" -IUSE="examples" +IUSE="examples threads" -S="${WORKDIR}"/csv${PV} +S="${WORKDIR}"/${MY_P} src_configure() { local myconfargs=( + --64 --installschemename=chezscheme --installpetitename=chezscheme-petite --installscriptname=chezscheme-script @@ -27,10 +31,12 @@ src_configure() { --disable-x11 # TODO: X USE flag. ) + use threads && myconfargs+=(--threads) + ./configure "${myconfargs[@]}" || die } src_install() { emake install TempRoot="${D}" - use examples || rm -r "${D}"/usr/lib/csv${PV}/examples || die + use examples || rm -r "${D}"/usr/lib/${MY_P}/examples || die }