diff options
author | wiz <wiz> | 2011-03-12 14:07:13 +0000 |
---|---|---|
committer | wiz <wiz> | 2011-03-12 14:07:13 +0000 |
commit | 885e0fcbdbb067f22c136ee6ee58831bd4bad679 (patch) | |
tree | 6b9cc97371ecb51ea0fbb7eb17a5b94d554cdbdb /lang/python | |
parent | 3cd47f283f04d1d3dcfcc96f95b8c51733331f99 (diff) | |
download | pkgsrc-885e0fcbdbb067f22c136ee6ee58831bd4bad679.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.mk | 6 |
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 |