summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorriastradh <riastradh>2013-05-12 00:19:55 +0000
committerriastradh <riastradh>2013-05-12 00:19:55 +0000
commit1ff6a3307cd621d75bd5997cff3f7da5e8ceb1c4 (patch)
treed4ceab8d2afda1fe922260a634247c00ba713440 /lang
parenta74dd369331013bec8a054da3aaabd19f41ce570 (diff)
downloadpkgsrc-1ff6a3307cd621d75bd5997cff3f7da5e8ceb1c4.tar.gz
Explicitly default PYTHON_FOR_BUILD_ONLY to `no'.
Avoids problems with make on NetBSD 5 where empty(XYZ:Mfoo) fails rather than yielding false if XYZ is undefined.
Diffstat (limited to 'lang')
-rw-r--r--lang/python/pyversion.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk
index 6d2dcec13f5..2d4447e1c16 100644
--- a/lang/python/pyversion.mk
+++ b/lang/python/pyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.108 2013/05/10 20:07:34 riastradh Exp $
+# $NetBSD: pyversion.mk,v 1.109 2013/05/12 00:19:55 riastradh Exp $
# This file determines which Python version is used as a dependency for
# a package.
@@ -195,6 +195,7 @@ PYPKGPREFIX=
PTHREAD_OPTS+= require
.include "../../mk/pthread.buildlink3.mk"
+PYTHON_FOR_BUILD_ONLY?= no
.if defined(PYPKGSRCDIR)
. if !empty(PYTHON_FOR_BUILD_ONLY:M[tT][oO][oO][lL])
TOOL_DEPENDS+= ${PYDEPENDENCY}