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 0375B1395E2 for ; Fri, 11 Nov 2016 09:41:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64254E0B12; Fri, 11 Nov 2016 09:41:24 +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 4A15DE0B12 for ; Fri, 11 Nov 2016 09:41:24 +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 6B53134165F for ; Fri, 11 Nov 2016 09:41:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 324D224A2 for ; Fri, 11 Nov 2016 09:41:22 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1478857280.38279d34de57f768e1bcc79a264f5b096059e734.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/nvidia-drivers/nvidia-drivers-375.10-r1.ebuild X-VCS-Directories: x11-drivers/nvidia-drivers/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 38279d34de57f768e1bcc79a264f5b096059e734 X-VCS-Branch: master Date: Fri, 11 Nov 2016 09:41:22 +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: ccd43faa-e35e-4d05-9601-d3188804182c X-Archives-Hash: 8352f4a7feba2eab74988a307fbe3831 commit: 38279d34de57f768e1bcc79a264f5b096059e734 Author: Jeroen Roovers gentoo org> AuthorDate: Fri Nov 11 09:39:57 2016 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Nov 11 09:41:20 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38279d34 x11-drivers/nvidia-drivers: Set up libnvidia-ml.so symlinks (bug #598874). Package-Manager: portage-2.3.2 x11-drivers/nvidia-drivers/nvidia-drivers-375.10-r1.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-375.10-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-375.10-r1.ebuild index 7c86eb1..7dbd015 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-375.10-r1.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-375.10-r1.ebuild @@ -175,7 +175,15 @@ pkg_setup() { src_prepare() { if use tools; then cp "${DISTDIR}"/nvml.h-${PV} "${S}"/nvidia-settings-${PV}/src/nvml.h || die - sed -i -e 's|-lnvidia-ml|-L../../ &|g' nvidia-settings-${PV}/src/Makefile || die + + ln -s libnvidia-ml.so.${PV} libnvidia-ml.so || die + if use multilib; then + pushd 32/ 2>/dev/null || die + ln -s libnvidia-ml.so.${PV} libnvidia-ml.so || die + popd 2>/dev/null || die + fi + + sed -i -e "s|-lnvidia-ml|-L../../ &|g" nvidia-settings-${PV}/src/Makefile || die fi eapply "${FILESDIR}"/${P}-profiles-rc.patch