xf86-video-mga: only enable dri on some platforms
Closes: #11400 [via git-merge-pr]
This commit is contained in:
parent
d49e07694a
commit
004985d7dc
2 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue