summary refs log blame commit diff
path: root/pkgs/development/ocaml-modules/piqi/no-ocamlpath-override.patch
blob: bf85a42551c00836e404d96ef29e8799a391a862 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                                   
diff -rupN piqi-0.6.12.orig/make/Makefile.ocaml piqi-0.6.12/make/Makefile.ocaml
--- piqi-0.6.12.orig/make/Makefile.ocaml	2015-03-13 13:35:19.000000000 +0100
+++ piqi-0.6.12/make/Makefile.ocaml	2015-06-10 21:19:57.231000000 +0200
@@ -1,13 +1,5 @@
 OCAMLMAKEFILE := $(PIQI_ROOT)/make/OCamlMakefile
 
-
-OCAMLPATH := $(PIQI_BUILD)/lib/ocaml
-ifeq ($(SYSTEM),$(filter $(SYSTEM),mingw mingw64))
-OCAMLPATH := $(shell cygpath -w $(OCAMLPATH))
-endif
-export OCAMLPATH
-
-
 # make sure camlp4o produces pretty-printed text instead of AST
 export CAMLP4_O = $(CAMLP4)o -printer o