Skip to content

Commit 2d305ff

Browse files
author
alnsn
committed
Add buildlink3.mk and list dependencies.
1 parent 125f6c6 commit 2d305ff

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

devel/ocaml-ouint2/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.1 2026/01/25 19:37:59 alnsn Exp $
1+
# $NetBSD: Makefile,v 1.2 2026/01/25 20:41:40 alnsn Exp $
22

33
DISTNAME= ounit2-2.2.7
44
PKGNAME= ocaml-${DISTNAME}
@@ -18,4 +18,8 @@ DUNE_BUILD_PACKAGES= ounit2
1818
TEST_TARGET= test
1919

2020
.include "../../lang/ocaml/ocaml.mk"
21+
22+
.include "../../devel/ocaml-seq/buildlink3.mk"
23+
.include "../../devel/ocaml-stdlib-shims/buildlink3.mk"
24+
2125
.include "../../mk/bsd.pkg.mk"

devel/ocaml-ouint2/buildlink3.mk

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# $NetBSD: buildlink3.mk,v 1.1 2026/01/25 20:41:40 alnsn Exp $
2+
3+
BUILDLINK_TREE+= ocaml-ounit2
4+
5+
.if !defined(OCAML_OUNIT2_BUILDLINK3_MK)
6+
OCAML_OUNIT2_BUILDLINK3_MK:=
7+
8+
BUILDLINK_API_DEPENDS.ocaml-ounit2+= ocaml-ounit2>=2.2.7
9+
BUILDLINK_ABI_DEPENDS.ocaml-ounit2+= ocaml-ounit2>=2.2.7
10+
BUILDLINK_PKGSRCDIR.ocaml-ounit2?= ../../devel/ocaml-ounit2
11+
12+
.endif # OCAML_OUNIT2_BUILDLINK3_MK
13+
14+
BUILDLINK_TREE+= -ocaml-ounit2

0 commit comments

Comments
 (0)