mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 11:33:49 +02:00
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"
|
- DRI="no"
|
||||||
- fi
|
- fi
|
||||||
-fi
|
-fi
|
||||||
+DRI="yes"
|
+DRI="no"
|
||||||
AC_MSG_RESULT([$DRI])
|
AC_MSG_RESULT([$DRI])
|
||||||
|
|
||||||
AM_CONDITIONAL(DRI, test "x$DRI" = xyes)
|
AM_CONDITIONAL(DRI, test "x$DRI" = xyes)
|
||||||
|
|
|
@ -17,6 +17,12 @@ lib32disabled=yes
|
||||||
LDFLAGS="-Wl,-z,lazy"
|
LDFLAGS="-Wl,-z,lazy"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686*|x86_64*|aarch64*|ppc*)
|
||||||
|
sed -i 's/^DRI="no"/DRI="yes"/' configure.ac
|
||||||
|
;;
|
||||||
|
*) ;;
|
||||||
|
esac
|
||||||
autoreconf -if
|
autoreconf -if
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue