| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | # $NetBSD: tool.mk,v 1.2 2019/11/24 11:41:15 nia Exp $ | | 1 | # $NetBSD: tool.mk,v 1.3 2019/12/15 23:59:00 gutteridge Exp $ |
2 | # | | 2 | # |
3 | # Create `python' interpreter wrapper for applicable Python bin. | | 3 | # Create `python' interpreter wrapper for applicable Python bin. |
4 | # | | 4 | # |
5 | # This mk fragment can be included in all packages that uses `python' | | 5 | # This mk fragment can be included in all packages that use `python' |
6 | # as a tool without a pkgsrc-style version suffix. | | 6 | # as a tool without a pkgsrc-style version suffix. |
7 | # | | 7 | # |
8 | # Keywords: python | | 8 | # Keywords: python |
9 | # | | 9 | # |
10 | | | 10 | |
11 | .if !defined(PYTHON_TOOL_MK) | | 11 | .if !defined(PYTHON_TOOL_MK) |
12 | PYTHON_TOOL_MK= defined | | 12 | PYTHON_TOOL_MK= defined |
13 | | | 13 | |
14 | .if !defined(PYTHON_PYVERSION_MK) | | 14 | .if !defined(PYTHON_PYVERSION_MK) |
15 | .include "../../lang/python/pyversion.mk" | | 15 | .include "../../lang/python/pyversion.mk" |
16 | .endif | | 16 | .endif |
17 | | | 17 | |
18 | BUILDLINK_TARGETS+= buildlink-bin-python | | 18 | BUILDLINK_TARGETS+= buildlink-bin-python |