summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-02-07 15:55:54 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-02-07 15:55:54 +0000
commitc64f4bdd7c8a95b7e834e3d73337783c1ad81d9a (patch)
tree58ede4bc58de6fb22f6ded4f316ea73c8ac8bf01 /dev-util/intel-ocl-sdk
parentStable for HPPA (bug #399905). (diff)
downloadgentoo-2-c64f4bdd7c8a95b7e834e3d73337783c1ad81d9a.tar.gz
gentoo-2-c64f4bdd7c8a95b7e834e3d73337783c1ad81d9a.tar.bz2
gentoo-2-c64f4bdd7c8a95b7e834e3d73337783c1ad81d9a.zip
Invoke eselect opencl during postinst to avoid intel flavour of bug 402407
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/intel-ocl-sdk')
-rw-r--r--dev-util/intel-ocl-sdk/ChangeLog5
-rw-r--r--dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-util/intel-ocl-sdk/ChangeLog b/dev-util/intel-ocl-sdk/ChangeLog
index 80acd1ab5a16..2fc4e290a8da 100644
--- a/dev-util/intel-ocl-sdk/ChangeLog
+++ b/dev-util/intel-ocl-sdk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/intel-ocl-sdk
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/ChangeLog,v 1.1 2012/02/04 11:17:33 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/ChangeLog,v 1.2 2012/02/07 15:55:54 xarthisius Exp $
+
+ 07 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> intel-ocl-sdk-1.5.ebuild:
+ Invoke eselect opencl during postinst to avoid intel flavour of bug 402407
*intel-ocl-sdk-1.5 (04 Feb 2012)
diff --git a/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild b/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild
index 3c97df5e1b66..a96e0526520d 100644
--- a/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild
+++ b/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild,v 1.1 2012/02/04 11:17:33 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild,v 1.2 2012/02/07 15:55:54 xarthisius Exp $
EAPI=4
@@ -60,3 +60,7 @@ src_install() {
doins *.so *rtl *pch
popd &> /dev/null
}
+
+pkg_postinst() {
+ eselect opencl set --use-old intel
+}