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 E7C3713933E for ; Mon, 5 Jul 2021 19:38:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23458E0A5E; Mon, 5 Jul 2021 19:38:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 0C5C7E0A5E for ; Mon, 5 Jul 2021 19:38:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 7B632342ABB for ; Mon, 5 Jul 2021 19:38:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0072A7C5 for ; Mon, 5 Jul 2021 19:38:15 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1625513887.a17a8b449369e304c9fb14370598f7e305b90210.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/slurm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/slurm/slurm-20.11.0.1-r101.ebuild X-VCS-Directories: sys-cluster/slurm/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: a17a8b449369e304c9fb14370598f7e305b90210 X-VCS-Branch: master Date: Mon, 5 Jul 2021 19:38:15 +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: de817e2a-2c1d-45a3-852a-fa73a7fdabe1 X-Archives-Hash: 3dd819346fb4372175139e8d1bc224e2 commit: a17a8b449369e304c9fb14370598f7e305b90210 Author: Marek Szuba gentoo org> AuthorDate: Mon Jul 5 18:43:06 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Mon Jul 5 19:38:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17a8b44 sys-cluster/slurm: only call lua-single_pkg_setup when USE=lua is set Calling this unconditionally can be a problem when the default Lua target is not available on a certain architecture, as it is currently the case with lua5-1 on riscv. Signed-off-by: Marek Szuba gentoo.org> sys-cluster/slurm/slurm-20.11.0.1-r101.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys-cluster/slurm/slurm-20.11.0.1-r101.ebuild b/sys-cluster/slurm/slurm-20.11.0.1-r101.ebuild index 7f857b26e59..e5987b34b2c 100644 --- a/sys-cluster/slurm/slurm-20.11.0.1-r101.ebuild +++ b/sys-cluster/slurm/slurm-20.11.0.1-r101.ebuild @@ -78,6 +78,10 @@ PATCHES=( "${FILESDIR}"/${PN}-20.11.0.1_autoconf-lua.patch ) +pkg_setup() { + use lua && lua-single_pkg_setup +} + src_unpack() { if [[ ${PV} == *9999* ]]; then git-r3_src_unpack