summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorwiz <wiz>2011-03-12 14:07:13 +0000
committerwiz <wiz>2011-03-12 14:07:13 +0000
commite4c68c051dedd646549be05f934a34a091e41663 (patch)
tree6b9cc97371ecb51ea0fbb7eb17a5b94d554cdbdb /lang/python
parent4d99cb365f2593d1c800e9bee437d1ae193588f5 (diff)
downloadpkgsrc-e4c68c051dedd646549be05f934a34a091e41663.tar.gz
Add MULTI variable, and add it to BUILD_DEFS, to more easily find
variable settings affecting binary packages. From Aleksey Cheusov in PR 44695.
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/pyversion.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk
index 18154d6726d..956e4abf219 100644
--- a/lang/python/pyversion.mk
+++ b/lang/python/pyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.86 2011/02/25 09:47:24 wiz Exp $
+# $NetBSD: pyversion.mk,v 1.87 2011/03/12 14:07:13 wiz Exp $
# This file determines which Python version is used as a dependency for
# a package.
@@ -112,6 +112,10 @@ _PYTHON_VERSION?= ${pv}
. endif
.endif
+#
+# Variable assignment for multi-python packages
+MULTI+= PYTHON_VERSION_REQD=${_PYTHON_VERSION}
+
# No supported version found, annotate to simplify statements below.
.if !defined(_PYTHON_VERSION)
_PYTHON_VERSION= none