From d438a4adc2fb61e7463e0bfe2bcaefc426764976 Mon Sep 17 00:00:00 2001 From: riastradh Date: Sun, 12 May 2013 00:19:55 +0000 Subject: 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. --- lang/python/pyversion.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lang') 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} -- cgit v1.2.3