summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ati-stream-sdk/ati-stream-sdk-2.3-r1.ebuild')
-rw-r--r--dev-util/ati-stream-sdk/ati-stream-sdk-2.3-r1.ebuild16
1 files changed, 3 insertions, 13 deletions
diff --git a/dev-util/ati-stream-sdk/ati-stream-sdk-2.3-r1.ebuild b/dev-util/ati-stream-sdk/ati-stream-sdk-2.3-r1.ebuild
index c7b3a8c..4a993c0 100644
--- a/dev-util/ati-stream-sdk/ati-stream-sdk-2.3-r1.ebuild
+++ b/dev-util/ati-stream-sdk/ati-stream-sdk-2.3-r1.ebuild
@@ -41,14 +41,8 @@ src_unpack() {
src_prepare(){
if use examples; then
- sed -i -e 's/samples/examples/g' make/openclsdkrules.mk make/openclsdkdefs.mk \
+ sed -i -e 's/samples/examples/g' make/openclsdkrules.mk make/openclsdkdefs.mk\
|| die "Sed failed"
- sed -i \
- -e "/OPENCL_LIBDIRS/{s|lib/\$(CPU_ARCH)|$(get_libdir)|}" \
- -e "/CAL_LIBDIRS/{s|lib|$(get_libdir)|}" \
- make/openclsdkdefs.mk || die "Sed failed"
-
-
fi
}
@@ -60,13 +54,9 @@ src_install() {
rm include/GL/{glext.h,glut.h} || die
if use amd64; then
- emake DESTDIR="${D}" ARCH="amd64" LIBDIR='$(PREFIX)/'$(get_libdir) install || die "Install failed";
- if use multilib; then
- emake DESTDIR="${D}" ARCH="x86" LIBDIR='$(PREFIX)/lib32' \
- install-lib install-etc || die "Install multilib failed"
- fi
+ emake DESTDIR="${D}" ARCH="amd64" install || die "Install failed";
else
- emake DESTDIR="${D}" ARCH="x86" LIBDIR='$(PREFIX)/'$(get_libdir) install || die "Install failed";
+ emake DESTDIR="${D}" ARCH="x86" install || die "Install failed";
fi
cat > "${T}/99${PN}" << EOF