summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/ati-drivers/ati-drivers-8.42.3.ebuild')
-rw-r--r--x11-drivers/ati-drivers/ati-drivers-8.42.3.ebuild18
1 files changed, 16 insertions, 2 deletions
diff --git a/x11-drivers/ati-drivers/ati-drivers-8.42.3.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.42.3.ebuild
index 4c839da..a33f38c 100644
--- a/x11-drivers/ati-drivers/ati-drivers-8.42.3.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-8.42.3.ebuild
@@ -168,6 +168,7 @@ src_unpack() {
if kernel_is ge 2 6 23; then
epatch "${FILESDIR}"/${PV}/${PN}-2.6.23.patch
+ epatch "${FILESDIR}"/${PV}/${PN}-2.6.23-2.patch
fi
}
@@ -361,7 +362,14 @@ src_install-libs() {
# The GLX libraries
# (yes, this really is "lib" even on amd64/multilib --marienz)
exeinto ${ATI_ROOT}/lib
- doexe "${ARCH_DIR}"/usr/X11R6/${pkglibdir}/libGL.so.${libver}
+# doexe "${ARCH_DIR}"/usr/X11R6/${pkglibdir}/libGL.so.${libver}
+
+ if [[ "${ABI}" == "amd64" ]]; then
+ doexe "${ARCH_DIR}"/usr/X11R6/${pkglibdir}/libGL.so.${libver}
+ else
+ doexe "${WORKDIR}"/arch/x86/usr/X11R6/${pkglibdir}/libGL.so.${libver}
+ fi
+
dosym libGL.so.${libver} ${ATI_ROOT}/lib/libGL.so.${libmajor}
dosym libGL.so.${libver} ${ATI_ROOT}/lib/libGL.so
@@ -371,7 +379,13 @@ src_install-libs() {
# DRI modules, installed into the path used by recent versions of mesa.
exeinto /usr/$(get_libdir)/dri
- doexe "${ARCH_DIR}"/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so
+# doexe "${ARCH_DIR}"/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so
+
+ if [[ "${ABI}" == "amd64" ]]; then
+ doexe "${ARCH_DIR}"/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so
+ else
+ doexe "${WORKDIR}"/arch/x86/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so
+ fi
# Make up a libGL.la. Ati does not provide one, but mesa does. If
# a (libtool-based) libfoo is built with libGL.la present a