From 1fe492a05ddf4dbe2a9700d76226239ba7b986e6 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Wed, 3 Sep 2014 21:48:09 +0200 Subject: package/mesa3d: Add optional dependency xlib_libXxf86vm xlib_libXxf86vm is an optional dependency for the DRI drivers, quote from mesa3d/configure.ac: # add xf86vidmode if available PKG_CHECK_MODULES([XF86VIDMODE], [xxf86vm], HAVE_XF86VIDMODE=yes, HAVE_XF86VIDMODE=no) if test "$HAVE_XF86VIDMODE" = yes ; then dri_modules="$dri_modules xxf86vm" fi Add the package as an optional dependency to have reproducable builds. Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/mesa3d/mesa3d.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/mesa3d') diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index aea78c3fb3..c2f2b9b8b6 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -82,6 +82,9 @@ MESA3D_CONF_OPT += --enable-dri3 else MESA3D_CONF_OPT += --disable-dri3 endif +ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y) +MESA3D_DEPENDENCIES += xlib_libXxf86vm +endif MESA3D_PROVIDES += libgl MESA3D_CONF_OPT += \ --enable-dri \ -- cgit v1.2.1