aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-11-25 10:44:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-11-25 10:49:05 +0000
commit20d46f0e38abf595dc20f2c183cbeb4fb9304618 (patch)
tree8739fe1b9e8881361bfbf5a0dfab43432b251f09 /main/mesa
parent3dc2e8734d0fd25a3f692433b8ddc0975593be6b (diff)
downloadaports-20d46f0e38abf595dc20f2c183cbeb4fb9304618.tar.bz2
aports-20d46f0e38abf595dc20f2c183cbeb4fb9304618.tar.xz
main/mesa: x86_64 build fix. there are no i810
Diffstat (limited to 'main/mesa')
-rw-r--r--main/mesa/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 93987d467c..d38a2cd1d1 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -78,7 +78,14 @@ _mv_dri() {
}
ati() { _mv_dri radeon_dri r200_dri r300_dri r600_dri; }
-intel() { _mv_dri i810_dri i915_dri i965_dri; }
+intel() {
+ # there are no i810_dri for x86_64
+ local _i810=
+ if [ "$CARCH" != "x86_64" ]; then
+ _i810=i810_dri
+ fi
+ _mv_dri $_i810 i915_dri i965_dri;
+}
mach64() { _mv_dri mach64_dri; }
mga() { _mv_dri mga_dri; }
r128() { _mv_dri r128_dri; }