summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
diff options
context:
space:
mode:
authortnn <tnn>2015-10-11 16:34:09 +0000
committertnn <tnn>2015-10-11 16:34:09 +0000
commitdf2f7b26d3ecd8f33182eb07e73adad8d7c6b93c (patch)
treee6f155680ee0926ebb7425ce70d39aebad631242 /graphics/MesaLib
parent6b95e844c24b014345cc03a9f1256d143fa7ed75 (diff)
downloadpkgsrc-df2f7b26d3ecd8f33182eb07e73adad8d7c6b93c.tar.gz
Try harder to not pick up system python. Might fix joyent Linux build.
Diffstat (limited to 'graphics/MesaLib')
-rw-r--r--graphics/MesaLib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile
index 3efa1b48ddc..88d5a1ec5ab 100644
--- a/graphics/MesaLib/Makefile
+++ b/graphics/MesaLib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.113 2015/09/28 23:50:06 tnn Exp $
+# $NetBSD: Makefile,v 1.114 2015/10/11 16:34:09 tnn Exp $
DISTNAME= mesa-11.0.2
PKGNAME= ${DISTNAME:S/mesa/MesaLib/}
@@ -70,6 +70,7 @@ SUBST_SED.tr1+= -e 's,include <tr1/,include <,g'
PYTHON_FOR_BUILD_ONLY= yes
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # as of 10.6.7
BUILD_DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
+CONFIGURE_ENV+= ac_cv_prog_PYTHON2=${PYTHONBIN}
.include "../../lang/python/tool.mk"
# On NetBSD < 6 we need to compile with GCC from pkgsrc.