package/mesa3d: Add optional dependency xlib_libXxf86vm
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 3 Sep 2014 19:48:09 +0000 (21:48 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 4 Sep 2014 15:24:58 +0000 (17:24 +0200)
commit1fe492a05ddf4dbe2a9700d76226239ba7b986e6
treef9fb9d05de996097e2d6c3cf28acac1bb266f14d
parent15e3142c0e8f68fde9c7ab7c48671a2e39a9c397
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 <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mesa3d/mesa3d.mk