package/x11r7/xdriver_xf86-video-mach64: switch dependency from mesa3d to libgl

DRI support for this driver is provided by the xserver_xorg-server
package when BR2_PACKAGE_HAS_LIBGL is enabled:
https://git.busybox.net/buildroot/tree/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk#n91

Change the dependency to follow the logic of xserver_xorg-server.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Bernd Kuhls 2022-05-14 19:56:02 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 2967e28aa2
commit 23701ada51

View File

@ -12,7 +12,9 @@ XDRIVER_XF86_VIDEO_MACH64_LICENSE_FILES = COPYING
XDRIVER_XF86_VIDEO_MACH64_AUTORECONF = YES XDRIVER_XF86_VIDEO_MACH64_AUTORECONF = YES
XDRIVER_XF86_VIDEO_MACH64_DEPENDENCIES = xserver_xorg-server xorgproto XDRIVER_XF86_VIDEO_MACH64_DEPENDENCIES = xserver_xorg-server xorgproto
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
XDRIVER_XF86_VIDEO_MACH64_CONF_OPTS += --enable-dri
else
XDRIVER_XF86_VIDEO_MACH64_CONF_OPTS += --disable-dri XDRIVER_XF86_VIDEO_MACH64_CONF_OPTS += --disable-dri
endif endif