summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2020-01-29 16:33:18 +0000
committerjaapb <jaapb@pkgsrc.org>2020-01-29 16:33:18 +0000
commit8303a0bf823d3cf82bd239b8092e3fa96ce06d5f (patch)
tree8e7d45d5460e3d8d765bce2aa9e26a1bae4e6137
parent187e38bc83c92b0097056286335689c296e93540 (diff)
downloadpkgsrc-8303a0bf823d3cf82bd239b8092e3fa96ce06d5f.tar.gz
Added conversion to dune to security/ocaml-safepass
Project still uses jbuilder, so just run a dune upgrade before building. No upstream changes.
-rw-r--r--security/ocaml-safepass/Makefile7
-rw-r--r--security/ocaml-safepass/buildlink3.mk4
2 files changed, 7 insertions, 4 deletions
diff --git a/security/ocaml-safepass/Makefile b/security/ocaml-safepass/Makefile
index a0403c2cf98..2788478a825 100644
--- a/security/ocaml-safepass/Makefile
+++ b/security/ocaml-safepass/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2019/03/05 19:38:49 jaapb Exp $
+# $NetBSD: Makefile,v 1.7 2020/01/29 16:33:18 jaapb Exp $
GITHUB_PROJECT= ocaml-safepass
GITHUB_TAG= v${PKGVERSION_NOREV}
DISTNAME= ${GITHUB_PROJECT}-3.0
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=darioteixeira/}
@@ -14,5 +14,8 @@ LICENSE= gnu-lgpl-v2.1
OCAML_USE_DUNE= yes
+pre-build:
+ ${RUN} cd ${WRKSRC} && dune upgrade
+
.include "../../mk/ocaml.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/ocaml-safepass/buildlink3.mk b/security/ocaml-safepass/buildlink3.mk
index b3e534d904f..2cf3158a871 100644
--- a/security/ocaml-safepass/buildlink3.mk
+++ b/security/ocaml-safepass/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2019/03/05 19:38:49 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2020/01/29 16:33:18 jaapb Exp $
BUILDLINK_TREE+= ocaml-safepass
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= ocaml-safepass
OCAML_SAFEPASS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml-safepass+= ocaml-safepass>=2.0
-BUILDLINK_ABI_DEPENDS.ocaml-safepass+= ocaml-safepass>=3.0nb3
+BUILDLINK_ABI_DEPENDS.ocaml-safepass+= ocaml-safepass>=3.0nb4
BUILDLINK_PKGSRCDIR.ocaml-safepass?= ../../security/ocaml-safepass
.endif # OCAML_SAFEPASS_BUILDLINK3_MK