nodejs: Limit ABI depends to each release branch.

While not strictly true, it's required to avoid pbulk always choosing nodejs18
as the preferred dependency, which is incorrect on platforms where it does not
build (macOS 10.14) and NODE_VERSION_DEFAULT is set to 16.
This commit is contained in:
jperkin 2022-07-04 15:48:53 +00:00
parent b59f2c4a02
commit e3a498bb31
3 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.14 2022/04/18 19:09:55 adam Exp $
# $NetBSD: buildlink3.mk,v 1.15 2022/07/04 15:48:53 jperkin Exp $
BUILDLINK_TREE+= nodejs
@ -6,7 +6,7 @@ BUILDLINK_TREE+= nodejs
NODEJS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.nodejs+= nodejs>=10
BUILDLINK_ABI_DEPENDS.nodejs+= nodejs>=12.22.12nb1
BUILDLINK_ABI_DEPENDS.nodejs+= nodejs>=12.22.12nb1<14
BUILDLINK_PKGSRCDIR.nodejs?= ../../lang/nodejs12
.include "../../mk/bsd.fast.prefs.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.2 2022/04/18 19:09:55 adam Exp $
# $NetBSD: buildlink3.mk,v 1.3 2022/07/04 15:48:53 jperkin Exp $
BUILDLINK_TREE+= nodejs
@ -6,7 +6,7 @@ BUILDLINK_TREE+= nodejs
NODEJS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.nodejs+= nodejs>=10
BUILDLINK_ABI_DEPENDS.nodejs+= nodejs>=14.19.1nb1
BUILDLINK_ABI_DEPENDS.nodejs+= nodejs>=14.19.1nb1<16
BUILDLINK_PKGSRCDIR.nodejs?= ../../lang/nodejs14
.include "../../mk/bsd.fast.prefs.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.1 2022/05/05 07:02:25 adam Exp $
# $NetBSD: buildlink3.mk,v 1.2 2022/07/04 15:48:53 jperkin Exp $
BUILDLINK_TREE+= nodejs
@ -6,7 +6,7 @@ BUILDLINK_TREE+= nodejs
NODEJS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.nodejs+= nodejs>=10
BUILDLINK_ABI_DEPENDS.nodejs+= nodejs>=16.14.2nb2
BUILDLINK_ABI_DEPENDS.nodejs+= nodejs>=16.14.2nb2<18
BUILDLINK_PKGSRCDIR.nodejs?= ../../lang/nodejs16
.include "../../mk/bsd.fast.prefs.mk"