pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-biniou



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Thu Jul 13 10:41:33 UTC 2017

Modified Files:
        pkgsrc/devel/ocaml-biniou: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/ocaml-biniou/patches: patch-Makefile

Log Message:
Added patch so that bin/bdump gets installed. Thanks to joerg@ for
reporting this.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/ocaml-biniou/Makefile \
    pkgsrc/devel/ocaml-biniou/PLIST pkgsrc/devel/ocaml-biniou/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ocaml-biniou/patches/patch-Makefile

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-biniou/Makefile
diff -u pkgsrc/devel/ocaml-biniou/Makefile:1.1 pkgsrc/devel/ocaml-biniou/Makefile:1.2
--- pkgsrc/devel/ocaml-biniou/Makefile:1.1      Tue Jul 11 11:27:00 2017
+++ pkgsrc/devel/ocaml-biniou/Makefile  Thu Jul 13 10:41:33 2017
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2017/07/11 11:27:00 jaapb Exp $
+# $NetBSD: Makefile,v 1.2 2017/07/13 10:41:33 jaapb Exp $
 
 GITHUB_PROJECT=        biniou
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 DISTNAME=      ${GITHUB_PROJECT}-1.0.13
 PKGNAME=       ocaml-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mjambon/}
 
@@ -16,6 +17,7 @@ MAKE_JOBS_SAFE=       no
 USE_TOOLS+=    gmake
 BUILD_TARGET=  byte doc META
 OCAML_USE_FINDLIB=     yes
+INSTALLATION_DIRS+=    bin
 
 .include "../../mk/ocaml.mk"
 
Index: pkgsrc/devel/ocaml-biniou/PLIST
diff -u pkgsrc/devel/ocaml-biniou/PLIST:1.1 pkgsrc/devel/ocaml-biniou/PLIST:1.2
--- pkgsrc/devel/ocaml-biniou/PLIST:1.1 Tue Jul 11 11:27:00 2017
+++ pkgsrc/devel/ocaml-biniou/PLIST     Thu Jul 13 10:41:33 2017
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2017/07/11 11:27:00 jaapb Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/07/13 10:41:33 jaapb Exp $
+bin/bdump
 ${OCAML_SITELIB}/biniou/META
 ${OCAML_SITELIB}/biniou/bi_dump.cmo
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_dump.cmx
Index: pkgsrc/devel/ocaml-biniou/distinfo
diff -u pkgsrc/devel/ocaml-biniou/distinfo:1.1 pkgsrc/devel/ocaml-biniou/distinfo:1.2
--- pkgsrc/devel/ocaml-biniou/distinfo:1.1      Tue Jul 11 11:27:00 2017
+++ pkgsrc/devel/ocaml-biniou/distinfo  Thu Jul 13 10:41:33 2017
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2017/07/11 11:27:00 jaapb Exp $
+$NetBSD: distinfo,v 1.2 2017/07/13 10:41:33 jaapb Exp $
 
 SHA1 (biniou-1.0.13.tar.gz) = 87d62aeb15437f7ba26654b774b3106f374aad3c
 RMD160 (biniou-1.0.13.tar.gz) = 7b3306894c3407190acb707d53078ebd7118e82d
 SHA512 (biniou-1.0.13.tar.gz) = 2fe109e83260f546181dd26ea175d2c4f63d0f6604c6d26fa44ee31925ba1fdaac0139a436cd0271a31294de9cd8ea65f8dde0981403c652d31de721ef696788
 Size (biniou-1.0.13.tar.gz) = 24327 bytes
+SHA1 (patch-Makefile) = b9cf0685ae977211ebcc45b3f0e67408ae16162c

Added files:

Index: pkgsrc/devel/ocaml-biniou/patches/patch-Makefile
diff -u /dev/null pkgsrc/devel/ocaml-biniou/patches/patch-Makefile:1.1
--- /dev/null   Thu Jul 13 10:41:33 2017
+++ pkgsrc/devel/ocaml-biniou/patches/patch-Makefile    Thu Jul 13 10:41:33 2017
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1 2017/07/13 10:41:33 jaapb Exp $
+
+Install bdump using BSD install commands
+--- Makefile.orig      2017-05-04 17:38:05.000000000 +0000
++++ Makefile
+@@ -109,9 +109,9 @@ doc/index.html: $(MLI)
+ 
+ install: META byte
+       if [ -f bdump.native ]; then \
+-              cp bdump.native $(BINDIR)/bdump$(EXE); \
++              $(BSD_INSTALL_PROGRAM) bdump.native $(DESTDIR)$(BINDIR)/bdump$(EXE); \
+       else \
+-              cp bdump.byte $(BINDIR)/bdump$(EXE); \
++              $(BSD_INSTALL_SCRIPT) bdump.byte $(DESTDIR)$(BINDIR)/bdump$(EXE); \
+       fi
+       ocamlfind install biniou META \
+         $(MLI) $(CMI) $(CMT) $(ANNOT) $(CMO) biniou.cma \



Home | Main Index | Thread Index | Old Index