xorg-server: really disable dri if dri option is disabled.

This commit is contained in:
Juan RP 2014-01-27 21:30:48 +01:00
parent e10910550c
commit 036571eaf1

View File

@ -49,10 +49,9 @@ if [ "$build_option_dri" ]; then
configure_args+=" --enable-dri"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) makedepends+=" MesaLib-devel>=10.0";;
*) makedepends+=" dri2proto libdri2-devel-git";;
esac
else
configure_args+=" --disable-dri2"
configure_args+=" --disable-dri"
fi
if [ "$build_option_dri2" ]; then