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 E0A451395E3 for ; Tue, 15 Nov 2016 14:32:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49603E0CE1; Tue, 15 Nov 2016 14:32:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B274E0CDF for ; Tue, 15 Nov 2016 14:32:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 20C05341671 for ; Tue, 15 Nov 2016 14:32:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2FA7F24BF for ; Tue, 15 Nov 2016 14:32:29 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1479220297.b71bc77645c4af16aad06cc505b0fe86e205e2d9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/sysdig/sysdig-0.12.1.ebuild X-VCS-Directories: dev-util/sysdig/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b71bc77645c4af16aad06cc505b0fe86e205e2d9 X-VCS-Branch: master Date: Tue, 15 Nov 2016 14:32:29 +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-Archives-Salt: 5ef31791-3554-41f5-9866-414c8168b600 X-Archives-Hash: 63ddff6cdd9606d1fa76efbc0922153c commit: b71bc77645c4af16aad06cc505b0fe86e205e2d9 Author: Michał Górny gentoo org> AuthorDate: Tue Nov 15 14:19:24 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Nov 15 14:31:37 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b71bc776 dev-util/sysdig: Use MODULES_OPTIONAL_USE for USE=modules dev-util/sysdig/sysdig-0.12.1.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-util/sysdig/sysdig-0.12.1.ebuild b/dev-util/sysdig/sysdig-0.12.1.ebuild index d8ff761..b418cd5 100644 --- a/dev-util/sysdig/sysdig-0.12.1.ebuild +++ b/dev-util/sysdig/sysdig-0.12.1.ebuild @@ -6,6 +6,7 @@ EAPI=6 # cmake generates make-specific code #: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +MODULES_OPTIONAL_USE=modules inherit linux-mod bash-completion-r1 cmake-utils DESCRIPTION="A system exploration and troubleshooting tool" @@ -34,11 +35,11 @@ DEPEND="${RDEPEND} CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS" pkg_pretend() { - use modules && linux-mod_pkg_setup + linux-mod_pkg_setup } pkg_setup() { - use modules && linux-mod_pkg_setup + linux-mod_pkg_setup } src_prepare() { @@ -75,13 +76,13 @@ src_configure() { src_compile() { cmake-utils_src_compile - use modules && linux-mod_src_compile + linux-mod_src_compile } src_install() { cmake-utils_src_install - use modules && linux-mod_src_install + linux-mod_src_install # remove sources rm -r "${ED%/}"/usr/src || die