Patchwork [1/1] mesa3d: build with host library with python support

login
register
mail settings
Submitter Noel vellemans
Date Nov. 14, 2012, 9:10 a.m.
Message ID <1352884224-16467-1-git-send-email-noel.vellemans@visionbms.com>
Download mbox | patch
Permalink /patch/198840/
State Superseded
Headers show

Comments

Noel vellemans - Nov. 14, 2012, 9:10 a.m.
From: Vellemans Noel <noel.vellemans@visionbms.com>


Patch based on the initial work of Will Wagner (Thanks Will).
libxml2 host library with python support is required to build mesa3d

Signed-off-by: Vellemans Noel <noel.vellemans@visionbms.com>
---
 package/x11r7/mesa3d/Config.in |    1 +
 package/x11r7/mesa3d/mesa3d.mk |    4 +++-
 2 files changed, 4 insertions(+), 1 deletions(-)

Patch

diff --git a/package/x11r7/mesa3d/Config.in b/package/x11r7/mesa3d/Config.in
index 47ded29..e5b426e 100644
--- a/package/x11r7/mesa3d/Config.in
+++ b/package/x11r7/mesa3d/Config.in
@@ -7,6 +7,7 @@  config BR2_PACKAGE_MESA3D
 	select BR2_PACKAGE_XPROTO_DRI2PROTO
 	select BR2_PACKAGE_LIBDRM
 	select BR2_PACKAGE_EXPAT
+	select BR2_PACKAGE_HOST_LIBXML2_PYTHON
 	depends on BR2_PACKAGE_XSERVER_xorg
 	depends on BR2_INSTALL_LIBSTDCPP
 	help
diff --git a/package/x11r7/mesa3d/mesa3d.mk b/package/x11r7/mesa3d/mesa3d.mk
index 8d311e1..24d8269 100644
--- a/package/x11r7/mesa3d/mesa3d.mk
+++ b/package/x11r7/mesa3d/mesa3d.mk
@@ -28,6 +28,8 @@  MESA3D_DEPENDENCIES = \
 	xproto_dri2proto \
 	libdrm \
 	expat \
-	host-xutil_makedepend
+	host-xutil_makedepend \
+	host-libxml2 \
+	host-python 
 
 $(eval $(autotools-package))