diff options
author | jaapb <jaapb@pkgsrc.org> | 2016-06-20 14:58:46 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2016-06-20 14:58:46 +0000 |
commit | 1afb6a682b3d339bfcb0c8c3bd3d34092f90f3f1 (patch) | |
tree | d74b3bd2a2700f09d9cf1753cb44f0ca0d30bd8e /devel | |
parent | b3d0d437e27979bb77270a38aeb809a327ef0a3f (diff) | |
download | pkgsrc-1afb6a682b3d339bfcb0c8c3bd3d34092f90f3f1.tar.gz |
Added patch to run correct stat on NetBSD as well. Revbump.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-js-build-tools/Makefile | 4 | ||||
-rw-r--r-- | devel/ocaml-js-build-tools/distinfo | 3 | ||||
-rw-r--r-- | devel/ocaml-js-build-tools/patches/patch-og_js_ocamlbuild_goodies.ml | 14 |
3 files changed, 18 insertions, 3 deletions
diff --git a/devel/ocaml-js-build-tools/Makefile b/devel/ocaml-js-build-tools/Makefile index a38838e7c20..a9949b06121 100644 --- a/devel/ocaml-js-build-tools/Makefile +++ b/devel/ocaml-js-build-tools/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.1 2016/06/20 14:50:11 jaapb Exp $ +# $NetBSD: Makefile,v 1.2 2016/06/20 14:58:46 jaapb Exp $ VERSION= 113.33.04 GITHUB_PROJECT= js-build-tools DISTNAME= ${GITHUB_PROJECT}-${VERSION} -PKGNAME= ${GITHUB_PROJECT}-${DISTNAME} PKGNAME= ocaml-${DISTNAME} +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/} diff --git a/devel/ocaml-js-build-tools/distinfo b/devel/ocaml-js-build-tools/distinfo index 29cd43d96d6..fba55272abe 100644 --- a/devel/ocaml-js-build-tools/distinfo +++ b/devel/ocaml-js-build-tools/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.1 2016/06/20 14:50:12 jaapb Exp $ +$NetBSD: distinfo,v 1.2 2016/06/20 14:58:46 jaapb Exp $ SHA1 (js-build-tools-113.33.04.tar.gz) = ab2efaaad4942f5414831566a07fd8cfdd680d01 RMD160 (js-build-tools-113.33.04.tar.gz) = c8d03ef1e11d39173f0c9d45b0873ef16bec8639 SHA512 (js-build-tools-113.33.04.tar.gz) = 232c376d09fef5d6e7a7e4eb72f0123eda8a20ee7f0a64c4db5f237294a3755cb539d4d165cbbbb31d5396a182a2f94543eeb265235b4dd5866682a1ab49536b Size (js-build-tools-113.33.04.tar.gz) = 10782 bytes SHA1 (patch-Makefile) = 73347a64a29a0fde8ccc0cbae967a954b142ee71 +SHA1 (patch-og_js_ocamlbuild_goodies.ml) = eccdb4d85c6557b778cd1af99b9c3fd046c1eee9 diff --git a/devel/ocaml-js-build-tools/patches/patch-og_js_ocamlbuild_goodies.ml b/devel/ocaml-js-build-tools/patches/patch-og_js_ocamlbuild_goodies.ml new file mode 100644 index 00000000000..4ac052c1cbf --- /dev/null +++ b/devel/ocaml-js-build-tools/patches/patch-og_js_ocamlbuild_goodies.ml @@ -0,0 +1,14 @@ +$NetBSD: patch-og_js_ocamlbuild_goodies.ml,v 1.1 2016/06/20 14:58:46 jaapb Exp $ + +NetBSD uses stat -f as well +--- ocamlbuild_goodies/jane_street_ocamlbuild_goodies.ml.orig 2016-05-09 12:01:24.000000000 +0000 ++++ ocamlbuild_goodies/jane_street_ocamlbuild_goodies.ml +@@ -65,7 +65,7 @@ let track_external_deps = function + + let stat, md5sum = + match run_and_read "uname" |> String.trim with +- | "Darwin" -> ++ | "Darwin" | "NetBSD" -> + (S [A "stat"; A "-f"; A "%d:%i:%m"], + A "md5") + | _ -> |