summaryrefslogtreecommitdiff
path: root/package/MesaLib/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-12-01 15:41:21 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-12-01 15:41:21 +0100
commitac500eeba1b526248d8212931e7391fb16b1c343 (patch)
treed484af5cf868894ae499bfeb648d36f84138650f /package/MesaLib/Makefile
parent4fb59c5e77bac31eecffd009a3726543be95b11e (diff)
fix Mesalib compile under Darwin
Diffstat (limited to 'package/MesaLib/Makefile')
-rw-r--r--package/MesaLib/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/MesaLib/Makefile b/package/MesaLib/Makefile
index 10482b799..416cbb475 100644
--- a/package/MesaLib/Makefile
+++ b/package/MesaLib/Makefile
@@ -11,7 +11,7 @@ PKG_DESCR:= MESA 3D graphics library
PKG_SECTION:= libs
PKG_DEPENDS:= libxdamage libxfixes libdrm libxxf86vm libexpat
PKG_DEPENDS+= libxml2 libxml2-python
-PKG_BUILDDEP:= python2 libxml2 libXdamage libXfixes libXxf86vm libdrm
+PKG_BUILDDEP:= autotool python2 libxml2 libXdamage libXfixes libXxf86vm libdrm
PKG_BUILDDEP+= dri2proto glproto expat libXext
PKG_URL:= http://www.mesa3d.org/
PKG_SITES:= ftp://ftp.freedesktop.org/pub/mesa/${PKG_VERSION}/
@@ -28,11 +28,15 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MESALIB,mesalib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
include $(TOPDIR)/mk/python.mk
+ifeq ($(ADK_HOST_DARWIN),y)
+PYTHON:=/opt/local/bin/python2.7
+endif
ifeq (${ADK_TARGET_SYSTEM_IBM_X40},y)
DRI_DRIVERS:=i915
endif
+AUTOTOOL_STYLE:= autoreconf
CONFIGURE_ARGS+= --disable-static \
--disable-gallium-llvm \
--with-gallium-drivers=swrast \