| @@ -1,27 +1,26 @@ | | | @@ -1,27 +1,26 @@ |
1 | # $NetBSD: buildlink3.mk,v 1.2 2023/11/29 11:02:41 jperkin Exp $ | | 1 | # $NetBSD: buildlink3.mk,v 1.3 2024/05/02 08:37:43 cheusov Exp $ |
2 | | | 2 | |
3 | BUILDLINK_TREE+= python311 | | 3 | BUILDLINK_TREE+= python311 |
4 | | | 4 | |
5 | .if !defined(PYTHON311_BUILDLINK3_MK) | | 5 | .if !defined(PYTHON311_BUILDLINK3_MK) |
6 | PYTHON311_BUILDLINK3_MK:= | | 6 | PYTHON311_BUILDLINK3_MK:= |
7 | | | 7 | |
8 | BUILDLINK_API_DEPENDS.python311+= python311>=3.11.0 | | 8 | BUILDLINK_API_DEPENDS.python311+= python311>=3.11.0 |
9 | BUILDLINK_PKGSRCDIR.python311?= ../../lang/python311 | | 9 | BUILDLINK_PKGSRCDIR.python311?= ../../lang/python311 |
10 | | | 10 | |
11 | .if defined(BUILDLINK_DEPMETHOD.python) | | 11 | .if defined(BUILDLINK_DEPMETHOD.python) |
12 | BUILDLINK_DEPMETHOD.python311?= ${BUILDLINK_DEPMETHOD.python} | | 12 | BUILDLINK_DEPMETHOD.python311?= ${BUILDLINK_DEPMETHOD.python} |
13 | .endif | | 13 | .endif |
14 | | | 14 | |
15 | BUILDLINK_INCDIRS.python311+= include/python3.11 | | 15 | BUILDLINK_INCDIRS.python311+= include/python3.11 |
16 | BUILDLINK_LIBDIRS.python311+= lib/python3.11/config | | 16 | BUILDLINK_LIBDIRS.python311+= lib/python3.11/config |
17 | BUILDLINK_TRANSFORM+= l:python:python3.11 | | 17 | BUILDLINK_TRANSFORM+= l:python:python3.11 |
18 | | | 18 | |
19 | .if !${BUILDLINK_DEPMETHOD.python311:U:Mbuild} | | 19 | .if !${BUILDLINK_DEPMETHOD.python311:U:Mbuild} |
20 | .include "../../mk/dlopen.buildlink3.mk" | | 20 | .include "../../mk/dlopen.buildlink3.mk" |
21 | .include "../../mk/pthread.buildlink3.mk" | | 21 | .include "../../mk/pthread.buildlink3.mk" |
22 | .include "../../devel/gettext-lib/buildlink3.mk" | | | |
23 | .endif | | 22 | .endif |
24 | | | 23 | |
25 | .endif # PYTHON311_BUILDLINK3_MK | | 24 | .endif # PYTHON311_BUILDLINK3_MK |
26 | | | 25 | |
27 | BUILDLINK_TREE+= -python311 | | 26 | BUILDLINK_TREE+= -python311 |