summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorriastradh <riastradh@pkgsrc.org>2013-05-12 00:19:55 +0000
committerriastradh <riastradh@pkgsrc.org>2013-05-12 00:19:55 +0000
commitd438a4adc2fb61e7463e0bfe2bcaefc426764976 (patch)
treed4ceab8d2afda1fe922260a634247c00ba713440 /lang
parent29857f9cc5f985d6c11554777471ad9f14bfe6a6 (diff)
downloadpkgsrc-d438a4adc2fb61e7463e0bfe2bcaefc426764976.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}