summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2015-10-11 16:34:09 +0000
committertnn <tnn@pkgsrc.org>2015-10-11 16:34:09 +0000
commit98126b7ff57e7ddabfff1b417266869f661010ba (patch)
treee6f155680ee0926ebb7425ce70d39aebad631242 /graphics
parentd924421f5735eb3fda7b50a56443bb0ad63b18d1 (diff)
downloadpkgsrc-98126b7ff57e7ddabfff1b417266869f661010ba.tar.gz
Try harder to not pick up system python. Might fix joyent Linux build.
Diffstat (limited to 'graphics')
-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.