aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schäfer <gentryx@gmx.de>2013-07-03 05:53:44 +0200
committerAndreas Schäfer <gentryx@gmx.de>2013-07-03 05:53:44 +0200
commit2c494d0346f3b0a8da5646b43f725a10be62141e (patch)
tree98bb5472377d1e89c374490449bd90ce71fd1c0f /dev-util/amdapp/amdapp-2.8.ebuild
parentmoving variable declaration to src_prepare() (diff)
downloadsci-2c494d0346f3b0a8da5646b43f725a10be62141e.tar.gz
sci-2c494d0346f3b0a8da5646b43f725a10be62141e.tar.bz2
sci-2c494d0346f3b0a8da5646b43f725a10be62141e.zip
moving variable declaration to src_prepare()
Diffstat (limited to 'dev-util/amdapp/amdapp-2.8.ebuild')
-rw-r--r--dev-util/amdapp/amdapp-2.8.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-util/amdapp/amdapp-2.8.ebuild b/dev-util/amdapp/amdapp-2.8.ebuild
index e8ece4e34..ed0c0d178 100644
--- a/dev-util/amdapp/amdapp-2.8.ebuild
+++ b/dev-util/amdapp/amdapp-2.8.ebuild
@@ -6,8 +6,6 @@ EAPI=5
inherit multilib
-AMD_CL=usr/$(get_libdir)/OpenCL/vendors/amd/
-
X86_AT="AMD-APP-SDK-v${PV}-lnx32.tgz"
AMD64_AT="AMD-APP-SDK-v${PV}-lnx64.tgz"
@@ -54,6 +52,10 @@ src_unpack() {
unpack ./icd-registration.tgz
}
+src_prepare() {
+ AMD_CL=usr/$(get_libdir)/OpenCL/vendors/amd/
+}
+
src_compile() {
MAKEOPTS+=" -j1"
use examples && cd samples/opencl && emake