xf86-video-mga: only enable dri on some platforms

Closes: #11400 [via git-merge-pr]
This commit is contained in:
q66 2019-04-30 18:10:23 +02:00 committed by Jürgen Buchmüller
parent d49e07694a
commit 004985d7dc
2 changed files with 7 additions and 1 deletions

View file

@ -38,7 +38,7 @@ Remove some checks that break cross.
- DRI="no"
- fi
-fi
+DRI="yes"
+DRI="no"
AC_MSG_RESULT([$DRI])
AM_CONDITIONAL(DRI, test "x$DRI" = xyes)

View file

@ -17,6 +17,12 @@ lib32disabled=yes
LDFLAGS="-Wl,-z,lazy"
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*|aarch64*|ppc*)
sed -i 's/^DRI="no"/DRI="yes"/' configure.ac
;;
*) ;;
esac
autoreconf -if
}
post_install() {