pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-js-build-tools



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Mon Jun 20 14:58:46 UTC 2016

Modified Files:
        pkgsrc/devel/ocaml-js-build-tools: Makefile distinfo
Added Files:
        pkgsrc/devel/ocaml-js-build-tools/patches:
            patch-og_js_ocamlbuild_goodies.ml

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/ocaml-js-build-tools/Makefile \
    pkgsrc/devel/ocaml-js-build-tools/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/ocaml-js-build-tools/patches/patch-og_js_ocamlbuild_goodies.ml

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ocaml-js-build-tools/Makefile
diff -u pkgsrc/devel/ocaml-js-build-tools/Makefile:1.1 pkgsrc/devel/ocaml-js-build-tools/Makefile:1.2
--- pkgsrc/devel/ocaml-js-build-tools/Makefile:1.1      Mon Jun 20 14:50:11 2016
+++ pkgsrc/devel/ocaml-js-build-tools/Makefile  Mon Jun 20 14:58:46 2016
@@ -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/}
 
Index: pkgsrc/devel/ocaml-js-build-tools/distinfo
diff -u pkgsrc/devel/ocaml-js-build-tools/distinfo:1.1 pkgsrc/devel/ocaml-js-build-tools/distinfo:1.2
--- pkgsrc/devel/ocaml-js-build-tools/distinfo:1.1      Mon Jun 20 14:50:12 2016
+++ pkgsrc/devel/ocaml-js-build-tools/distinfo  Mon Jun 20 14:58:46 2016
@@ -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

Added files:

Index: pkgsrc/devel/ocaml-js-build-tools/patches/patch-og_js_ocamlbuild_goodies.ml
diff -u /dev/null pkgsrc/devel/ocaml-js-build-tools/patches/patch-og_js_ocamlbuild_goodies.ml:1.1
--- /dev/null   Mon Jun 20 14:58:46 2016
+++ pkgsrc/devel/ocaml-js-build-tools/patches/patch-og_js_ocamlbuild_goodies.ml Mon Jun 20 14:58:46 2016
@@ -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