From d3e60b835c5abcf2345e761027aa520409c19efc Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 30 Jul 2012 17:17:28 +0100 Subject: mesa: respect x11 DISTRO_FEATURE Patch originally by Damien Lespiau . Signed-off-by: Ross Burton Signed-off-by: Saul Wold --- meta/recipes-graphics/mesa/mesa-git.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-graphics/mesa/mesa-git.inc') diff --git a/meta/recipes-graphics/mesa/mesa-git.inc b/meta/recipes-graphics/mesa/mesa-git.inc index 32b1d964a5..7910eb654d 100644 --- a/meta/recipes-graphics/mesa/mesa-git.inc +++ b/meta/recipes-graphics/mesa/mesa-git.inc @@ -11,6 +11,8 @@ SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git \ file://0002-cross-compile.patch \ file://0003-fix-for-x32.patch \ " +SRC_URI += "${@base_contains('DISTRO_FEATURES', 'x11', '', 'file://0004-gross-hack-to-prevent-from-install-libgl.patch', d)}" + S = "${WORKDIR}/git" do_configure_prepend() { -- cgit v1.2.3