summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2012-08-02 05:10:47 +0000
committerRick Farina <zerochaos@gentoo.org>2012-08-02 05:10:47 +0000
commit14ba60602a8a3b90bd9fcff563a56b465994abdb (patch)
tree0f365f164244fe3f2020ac0d2e30294befa4c932 /dev-util/nvidia-cuda-sdk
parentVersion bump (diff)
downloadgentoo-2-14ba60602a8a3b90bd9fcff563a56b465994abdb.tar.gz
gentoo-2-14ba60602a8a3b90bd9fcff563a56b465994abdb.tar.bz2
gentoo-2-14ba60602a8a3b90bd9fcff563a56b465994abdb.zip
fix stupidity recognized in bug #429370
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/nvidia-cuda-sdk')
-rw-r--r--dev-util/nvidia-cuda-sdk/ChangeLog5
-rw-r--r--dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.ebuild12
2 files changed, 10 insertions, 7 deletions
diff --git a/dev-util/nvidia-cuda-sdk/ChangeLog b/dev-util/nvidia-cuda-sdk/ChangeLog
index 964d4aeab350..c710312ed384 100644
--- a/dev-util/nvidia-cuda-sdk/ChangeLog
+++ b/dev-util/nvidia-cuda-sdk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/nvidia-cuda-sdk
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/ChangeLog,v 1.31 2012/07/31 07:37:19 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/ChangeLog,v 1.32 2012/08/02 05:10:47 zerochaos Exp $
+
+ 02 Aug 2012; Rick Farina <zerochaos@gentoo.org> nvidia-cuda-sdk-4.2.ebuild:
+ fix stupidity recognized in bug #429370
*nvidia-cuda-sdk-4.2 (31 Jul 2012)
diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.ebuild
index bb2ed9da440c..c0b77c08adc3 100644
--- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.ebuild
+++ b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.ebuild,v 1.1 2012/07/31 07:37:19 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.ebuild,v 1.2 2012/08/02 05:10:47 zerochaos Exp $
-EAPI=2
+EAPI=4
inherit unpacker toolchain-funcs
@@ -53,19 +53,19 @@ src_compile() {
cd "${S}/sdk"
- use cuda && emake -C C cuda-install=/opt/cuda ${myopts} || die
- use opencl && emake -C OpenCL || die
+ use cuda && emake -C C cuda-install=/opt/cuda ${myopts}
+ use opencl && emake -C OpenCL
}
src_install() {
cd "${S}/sdk"
if ! use doc; then
- rm -rf *.txt doc */doc */Samples.htm */releaseNotesData
+ rm -rf *.txt doc */doc */Samples.htm */releaseNotesData || die
fi
if ! use examples; then
- rm -rf bin */bin */tools
+ rm -rf bin */bin */tools || die
fi
for f in $(find .); do