about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/higlo/install.patch
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2017-03-23 08:58:25 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-03-30 01:25:13 +0000
commit89e5963f2ca90ebfe66609a0ccb1a5c0ea6643d1 (patch)
tree8a240c1d4afb724d2ca8650c69b6eef52694ac27 /pkgs/development/ocaml-modules/higlo/install.patch
parent40158137fd427a8d76eb157962e7dea152605ee7 (diff)
downloadnixlib-89e5963f2ca90ebfe66609a0ccb1a5c0ea6643d1.tar
nixlib-89e5963f2ca90ebfe66609a0ccb1a5c0ea6643d1.tar.gz
nixlib-89e5963f2ca90ebfe66609a0ccb1a5c0ea6643d1.tar.bz2
nixlib-89e5963f2ca90ebfe66609a0ccb1a5c0ea6643d1.tar.lz
nixlib-89e5963f2ca90ebfe66609a0ccb1a5c0ea6643d1.tar.xz
nixlib-89e5963f2ca90ebfe66609a0ccb1a5c0ea6643d1.tar.zst
nixlib-89e5963f2ca90ebfe66609a0ccb1a5c0ea6643d1.zip
ocamlPackages.higlo: init at 0.6
Diffstat (limited to 'pkgs/development/ocaml-modules/higlo/install.patch')
-rw-r--r--pkgs/development/ocaml-modules/higlo/install.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/higlo/install.patch b/pkgs/development/ocaml-modules/higlo/install.patch
new file mode 100644
index 000000000000..bbdaace293bf
--- /dev/null
+++ b/pkgs/development/ocaml-modules/higlo/install.patch
@@ -0,0 +1,14 @@
+diff --git a/Makefile b/Makefile
+index b8c2e01..fcd07ed 100644
+--- a/Makefile
++++ b/Makefile
+@@ -149,7 +149,8 @@ webdoc:
+ install: install-lib install-bin
+ 
+ install-bin:
+-	$(CP) $(HIGLO) $(HIGLO_BYTE) $(MK_HIGLO) `dirname \`which ocamlfind\``/
++	mkdir -p $(out)/bin
++	$(CP) $(HIGLO) $(HIGLO_BYTE) $(MK_HIGLO) $(out)/bin
+ 
+ install-lib: higlo.cmo higlo.cmx higlo.cmxs $(HIGLO) $(HIGLO_BYTE)
+ 	ocamlfind install higlo META LICENSE \