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 61FD4158086 for ; Mon, 20 Dec 2021 07:36:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C5AF2BC025; Mon, 20 Dec 2021 07:36:54 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 6FA722BC025 for ; Mon, 20 Dec 2021 07:36:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3F13E342DC3 for ; Mon, 20 Dec 2021 07:36:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E013210 for ; Mon, 20 Dec 2021 07:36:50 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1639985803.1ccc0d1799fec4f667fa19c9eef729e7c7c42bb9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/atop/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/atop/atop-2.7.0.ebuild X-VCS-Directories: sys-process/atop/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1ccc0d1799fec4f667fa19c9eef729e7c7c42bb9 X-VCS-Branch: master Date: Mon, 20 Dec 2021 07:36: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: 700b103f-21bf-429d-afb5-d88180a75046 X-Archives-Hash: 4ec859abc7c9070802a8a260a1ed7d38 commit: 1ccc0d1799fec4f667fa19c9eef729e7c7c42bb9 Author: Sam James gentoo org> AuthorDate: Mon Dec 20 07:36:34 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Dec 20 07:36:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ccc0d17 sys-process/atop: fix build with USE=-modules Closes: https://bugs.gentoo.org/829697 Signed-off-by: Sam James gentoo.org> sys-process/atop/atop-2.7.0.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys-process/atop/atop-2.7.0.ebuild b/sys-process/atop/atop-2.7.0.ebuild index 100ab24274da..224879742c4a 100644 --- a/sys-process/atop/atop-2.7.0.ebuild +++ b/sys-process/atop/atop-2.7.0.ebuild @@ -44,10 +44,11 @@ pkg_pretend() { src_prepare() { default - ( + if use modules ; then cd "${WORKDIR}"/${NETATOP_P} || die eapply -p1 "${FILESDIR}"/${PN}-2.7.0-netatop-makefile.patch - ) + cd "${S}" || die + fi tc-export CC PKG_CONFIG