pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ocaml-js-build-tools Added patch to run correct ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/771d92213ab7
branches:  trunk
changeset: 348923:771d92213ab7
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon Jun 20 14:58:46 2016 +0000

description:
Added patch to run correct stat on NetBSD as well. Revbump.

diffstat:

 devel/ocaml-js-build-tools/Makefile                                  |   4 +-
 devel/ocaml-js-build-tools/distinfo                                  |   3 +-
 devel/ocaml-js-build-tools/patches/patch-og_js_ocamlbuild_goodies.ml |  14 ++++++++++
 3 files changed, 18 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 9fd6c94bbab3 -r 771d92213ab7 devel/ocaml-js-build-tools/Makefile
--- a/devel/ocaml-js-build-tools/Makefile       Mon Jun 20 14:51:09 2016 +0000
+++ b/devel/ocaml-js-build-tools/Makefile       Mon Jun 20 14:58:46 2016 +0000
@@ -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 -r 9fd6c94bbab3 -r 771d92213ab7 devel/ocaml-js-build-tools/distinfo
--- a/devel/ocaml-js-build-tools/distinfo       Mon Jun 20 14:51:09 2016 +0000
+++ b/devel/ocaml-js-build-tools/distinfo       Mon Jun 20 14:58:46 2016 +0000
@@ -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 -r 9fd6c94bbab3 -r 771d92213ab7 devel/ocaml-js-build-tools/patches/patch-og_js_ocamlbuild_goodies.ml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-js-build-tools/patches/patch-og_js_ocamlbuild_goodies.ml      Mon Jun 20 14:58:46 2016 +0000
@@ -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")
+       | _ ->



Home | Main Index | Thread Index | Old Index