From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1126486-garchives=archives.gentoo.org@lists.gentoo.org> 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 8F911138334 for <garchives@archives.gentoo.org>; Sun, 1 Dec 2019 12:04:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C026E082B; Sun, 1 Dec 2019 12:04:08 +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 71E64E082B for <gentoo-commits@lists.gentoo.org>; Sun, 1 Dec 2019 12:04:08 +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 399C834D611 for <gentoo-commits@lists.gentoo.org>; Sun, 1 Dec 2019 12:04:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97CFC2A5 for <gentoo-commits@lists.gentoo.org>; Sun, 1 Dec 2019 12:04:04 +0000 (UTC) From: "Benda XU" <heroxbd@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" <heroxbd@gentoo.org> Message-ID: <1575201834.bf853256b4a91c0d66c21b54fc08ea4687551a90.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/nvidia-cuda-toolkit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.243.ebuild X-VCS-Directories: dev-util/nvidia-cuda-toolkit/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: bf853256b4a91c0d66c21b54fc08ea4687551a90 X-VCS-Branch: master Date: Sun, 1 Dec 2019 12:04:04 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ae9c40fd-bbde-4566-afe2-f6e967ed7645 X-Archives-Hash: a898f36688ebb68172fd6f42dd104a43 commit: bf853256b4a91c0d66c21b54fc08ea4687551a90 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> AuthorDate: Sun Dec 1 12:00:21 2019 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> CommitDate: Sun Dec 1 12:03:54 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf853256 dev-util/nvidia-cuda-toolkit: Do not depend on nvidia-drivers on Prefix. Prefix does not manage kernel-related packages. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.243.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.243.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.243.ebuild index 30634521068..a88adf63708 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.243.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.243.ebuild @@ -21,7 +21,7 @@ RESTRICT="bindist mirror" BDEPEND="" RDEPEND=" <sys-devel/gcc-9[cxx] - >=x11-drivers/nvidia-drivers-${DRIVER_PV}[X,uvm] + !prefix? ( >=x11-drivers/nvidia-drivers-${DRIVER_PV}[X,uvm] ) debugger? ( dev-libs/openssl-compat:1.0.0 sys-libs/libtermcap-compat @@ -147,4 +147,10 @@ pkg_postinst() { if [[ ${MERGE_TYPE} != binary ]]; then pkg_postinst_check fi + + if use prefix; then + ewarn "Gentoo Prefix does not manage kernel modules. You need to make certain" + ewarn "the function counterpart to >=x11-drivers/nvidia-drivers-${DRIVER_PV}[X,uvm]" + ewarn "is available from the host" + fi }