unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob a21b21983910ebb486a6f05041a6659bb908b8e5 1364 bytes (raw)
name: gnu/packages/patches/ocaml-piqilib-fix-makefile.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
From 336e69d6882a1b8d725c43f1c2e340ef4464bac5 Mon Sep 17 00:00:00 2001
From: Julien Lepiller <julien@lepiller.eu>
Date: Sat, 31 Dec 2016 11:21:14 +0100
Subject: [PATCH] fix OCAMLPATH in makefile

---
 Makefile            | 2 +-
 make/Makefile.ocaml | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 4db87da..9315887 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ OCAMLFIND_DESTDIR := $(shell cygpath -w $(OCAMLFIND_DESTDIR))
 endif
 export OCAMLFIND_DESTDIR

-OCAMLPATH := $(PIQI_ROOT)/deps
+OCAMLPATH := $(OCAMLPATH):$(PIQI_ROOT)/deps
 ifeq ($(SYSTEM),$(filter $(SYSTEM),mingw mingw64))
 OCAMLPATH := $(shell cygpath -w $(OCAMLPATH))
 endif
diff --git a/make/Makefile.ocaml b/make/Makefile.ocaml
index 2b6324d..b82c041 100644
--- a/make/Makefile.ocaml
+++ b/make/Makefile.ocaml
@@ -1,7 +1,7 @@
 OCAMLMAKEFILE := $(PIQI_ROOT)/make/OCamlMakefile


-OCAMLPATH := $(PIQI_BUILD)/lib/ocaml
+OCAMLPATH := $(OCAMLPATH):$(PIQI_BUILD)/lib/ocaml
 ifeq ($(SYSTEM),$(filter $(SYSTEM),mingw mingw64))
 OCAMLPATH := $(shell cygpath -w $(OCAMLPATH))
 endif
@@ -23,6 +23,7 @@ post_target::


 .ml.mli: $(EXTRADEPS)
+			echo $(OCAMLPATH)
 			$(QUIET)pp=`sed -n -e '/^#/d' -e 's/(\*pp \([^*]*\) \*)/\1/p;q' $<`; \
 			if [ -z "$$pp" ]; then \
 			  $(ECHO) $(REAL_OCAMLFIND) $(INTF_OCAMLC) $(OCAML_FIND_PACKAGES) \
--
2.11.0


debug log:

solving a21b21983 ...
found a21b21983 in https://yhetil.org/guix-devel/20170103191217.6431-93-julien@lepiller.eu/ ||
	https://yhetil.org/guix-devel/20170103212136.515e4c30@lepiller.eu/ ||
	https://yhetil.org/guix-devel/CAL1_im==n8x7GDB-J0RasHc6VWzCVyO0stY7c6icj5Q9gAZFvg@mail.gmail.com/ ||
	https://yhetil.org/guix-devel/20170115141415.630135d3@lepiller.eu/

applying [1/1] https://yhetil.org/guix-devel/20170103191217.6431-93-julien@lepiller.eu/
diff --git a/gnu/packages/patches/ocaml-piqilib-fix-makefile.patch b/gnu/packages/patches/ocaml-piqilib-fix-makefile.patch
new file mode 100644
index 000000000..a21b21983

1:48: space before tab in indent.
 			$(QUIET)pp=`sed -n -e '/^#/d' -e 's/(\*pp \([^*]*\) \*)/\1/p;q' $<`; \
1:49: space before tab in indent.
 			if [ -z "$$pp" ]; then \
1:50: space before tab in indent.
 			  $(ECHO) $(REAL_OCAMLFIND) $(INTF_OCAMLC) $(OCAML_FIND_PACKAGES) \
Checking patch gnu/packages/patches/ocaml-piqilib-fix-makefile.patch...
1:53: new blank line at EOF.
+
Applied patch gnu/packages/patches/ocaml-piqilib-fix-makefile.patch cleanly.
warning: 4 lines add whitespace errors.

skipping https://yhetil.org/guix-devel/20170103212136.515e4c30@lepiller.eu/ for a21b21983
skipping https://yhetil.org/guix-devel/CAL1_im==n8x7GDB-J0RasHc6VWzCVyO0stY7c6icj5Q9gAZFvg@mail.gmail.com/ for a21b21983
skipping https://yhetil.org/guix-devel/20170115141415.630135d3@lepiller.eu/ for a21b21983
index at:
100644 a21b21983910ebb486a6f05041a6659bb908b8e5	gnu/packages/patches/ocaml-piqilib-fix-makefile.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).