Mon Apr 9 08:54:36 2018 UTC ()
Added Makefile patch to devel/ocaml-cmdliner

This is to make the package install in the right directories.


(jaapb)
diff -r1.6 -r1.7 pkgsrc/devel/ocaml-cmdliner/distinfo
diff -r0 -r1.1 pkgsrc/devel/ocaml-cmdliner/patches/patch-Makefile

cvs diff -r1.6 -r1.7 pkgsrc/devel/ocaml-cmdliner/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/ocaml-cmdliner/distinfo 2018/04/07 11:42:13 1.6
+++ pkgsrc/devel/ocaml-cmdliner/distinfo 2018/04/09 08:54:36 1.7
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.6 2018/04/07 11:42:13 jaapb Exp $ 1$NetBSD: distinfo,v 1.7 2018/04/09 08:54:36 jaapb Exp $
2 2
3SHA1 (cmdliner-1.0.2.tbz) = 4e54424f95ce4f805b855647d9d531dd8b5e9cae 3SHA1 (cmdliner-1.0.2.tbz) = 4e54424f95ce4f805b855647d9d531dd8b5e9cae
4RMD160 (cmdliner-1.0.2.tbz) = a59d1a98f475c0bf2c51723e920c387a26921bd3 4RMD160 (cmdliner-1.0.2.tbz) = a59d1a98f475c0bf2c51723e920c387a26921bd3
5SHA512 (cmdliner-1.0.2.tbz) = d718d9abe4fe0ea0e7453ed09e57de2a427cc450225cf2b56513d99af4b4218c3fe96ab08dcebd202b9ecf25a471bb7c67511262f35148dfe15684421be6d743 5SHA512 (cmdliner-1.0.2.tbz) = d718d9abe4fe0ea0e7453ed09e57de2a427cc450225cf2b56513d99af4b4218c3fe96ab08dcebd202b9ecf25a471bb7c67511262f35148dfe15684421be6d743
6Size (cmdliner-1.0.2.tbz) = 47350 bytes 6Size (cmdliner-1.0.2.tbz) = 47350 bytes
7SHA1 (patch-Makefile) = 9dfc351c9007ca1bf7354ed8f94ab9fe0abdf6f7 7SHA1 (patch-Makefile) = baa0c12094a435e0957cfe2dcdf2f2c8bd5eebd3

File Added: pkgsrc/devel/ocaml-cmdliner/patches/patch-Makefile
$NetBSD: patch-Makefile,v 1.1 2018/04/09 08:54:36 jaapb Exp $

These variables are set by the package Makefile
--- Makefile.orig	2017-08-07 15:10:49.000000000 +0000
+++ Makefile
@@ -10,9 +10,9 @@
 
 # Adjust the following on the cli invocation for configuring
 
-PREFIX=/usr
-LIBDIR=$(DESTDIR)$(PREFIX)/lib/ocaml/cmdliner
-DOCDIR=$(DESTDIR)$(PREFIX)/share/doc/cmdliner
+#PREFIX=/usr
+#LIBDIR=$(DESTDIR)$(PREFIX)/lib/ocaml/cmdliner
+#DOCDIR=$(DESTDIR)$(PREFIX)/share/doc/cmdliner
 NATIVE=$(shell ocamlopt -version > /dev/null 2>&1 && echo true)
 
 INSTALL=install