pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-biniou Added patch so that bin/bdump gets ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f3667d3d873
branches:  trunk
changeset: 365286:5f3667d3d873
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Thu Jul 13 10:41:33 2017 +0000

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

diffstat:

 devel/ocaml-biniou/Makefile               |   4 +++-
 devel/ocaml-biniou/PLIST                  |   3 ++-
 devel/ocaml-biniou/distinfo               |   3 ++-
 devel/ocaml-biniou/patches/patch-Makefile |  17 +++++++++++++++++
 4 files changed, 24 insertions(+), 3 deletions(-)

diffs (66 lines):

diff -r 40f53c7ad028 -r 5f3667d3d873 devel/ocaml-biniou/Makefile
--- a/devel/ocaml-biniou/Makefile       Thu Jul 13 10:27:27 2017 +0000
+++ b/devel/ocaml-biniou/Makefile       Thu Jul 13 10:41:33 2017 +0000
@@ -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 @@
 USE_TOOLS+=    gmake
 BUILD_TARGET=  byte doc META
 OCAML_USE_FINDLIB=     yes
+INSTALLATION_DIRS+=    bin
 
 .include "../../mk/ocaml.mk"
 
diff -r 40f53c7ad028 -r 5f3667d3d873 devel/ocaml-biniou/PLIST
--- a/devel/ocaml-biniou/PLIST  Thu Jul 13 10:27:27 2017 +0000
+++ b/devel/ocaml-biniou/PLIST  Thu Jul 13 10:41:33 2017 +0000
@@ -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
diff -r 40f53c7ad028 -r 5f3667d3d873 devel/ocaml-biniou/distinfo
--- a/devel/ocaml-biniou/distinfo       Thu Jul 13 10:27:27 2017 +0000
+++ b/devel/ocaml-biniou/distinfo       Thu Jul 13 10:41:33 2017 +0000
@@ -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
diff -r 40f53c7ad028 -r 5f3667d3d873 devel/ocaml-biniou/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-biniou/patches/patch-Makefile Thu Jul 13 10:41:33 2017 +0000
@@ -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