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 0FB9C158089 for ; Tue, 17 Oct 2023 02:43:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 493C12BC032; Tue, 17 Oct 2023 02:43:53 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F4D32BC032 for ; Tue, 17 Oct 2023 02:43:53 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 05D08335CB7 for ; Tue, 17 Oct 2023 02:43:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5488E125D for ; Tue, 17 Oct 2023 02:43:50 +0000 (UTC) From: "Brett Alcox" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brett Alcox" Message-ID: <1697510590.3df453b5dde93bc54c16a2a113eced09937df4bb.brettalcox@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/mission-center/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-apps/mission-center/mission-center-0.3.3.ebuild X-VCS-Directories: sys-apps/mission-center/ X-VCS-Committer: brettalcox X-VCS-Committer-Name: Brett Alcox X-VCS-Revision: 3df453b5dde93bc54c16a2a113eced09937df4bb X-VCS-Branch: dev Date: Tue, 17 Oct 2023 02:43:50 +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: 24d48b82-68f6-4d41-a587-e8a2cda8b54f X-Archives-Hash: aa4da53084d4552475cd7833879d4145 commit: 3df453b5dde93bc54c16a2a113eced09937df4bb Author: brettalcox gmail com> AuthorDate: Tue Oct 17 02:43:10 2023 +0000 Commit: Brett Alcox gmail com> CommitDate: Tue Oct 17 02:43:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3df453b5 sys-apps/mission-center: fixing broken debug build Signed-off-by: brettalcox gmail.com> sys-apps/mission-center/mission-center-0.3.3.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sys-apps/mission-center/mission-center-0.3.3.ebuild b/sys-apps/mission-center/mission-center-0.3.3.ebuild index 76cfc83f34..66ca90aa98 100644 --- a/sys-apps/mission-center/mission-center-0.3.3.ebuild +++ b/sys-apps/mission-center/mission-center-0.3.3.ebuild @@ -364,14 +364,17 @@ BDEPEND=" src_unpack() { unpack ${P}.tar.bz2 unpack nvtop-${NVTOP_COMMIT}.tar.gz - mkdir -p "${BUILD_DIR}/src/sys_info_v2/gatherer/src/release/build/native" || die - mv nvtop-${NVTOP_COMMIT} "${BUILD_DIR}/src/sys_info_v2/gatherer/src/release/build/native" || die + + GATHERER_BUILD_DIR=$(usex debug debug release) + mkdir -p "${BUILD_DIR}/src/sys_info_v2/gatherer/src/${GATHERER_BUILD_DIR}/build/native" || die + mv nvtop-${NVTOP_COMMIT} "${BUILD_DIR}/src/sys_info_v2/gatherer/src/${GATHERER_BUILD_DIR}/build/native" || die cargo_src_unpack } src_prepare() { eapply_user - cd "${BUILD_DIR}/src/sys_info_v2/gatherer/src/release/build/native/nvtop-${NVTOP_COMMIT}" || die + GATHERER_BUILD_DIR=$(usex debug debug release) + cd "${BUILD_DIR}/src/sys_info_v2/gatherer/src/${GATHERER_BUILD_DIR}/build/native/nvtop-${NVTOP_COMMIT}" || die find "${S}/src/sys_info_v2/gatherer/3rdparty/nvtop/patches" -type f -name 'nvtop-*' -exec sh -c 'patch -p1 < {}' \; || die }