1 |
bicatali 10/06/03 19:36:20 |
2 |
|
3 |
Added: ocamlgsl-0.6.0-ocaml311.patch |
4 |
Log: |
5 |
Initial import in the main tree from the sunrise overlay. Thanks Guillaume Horel for his work |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-ml/ocamlgsl/files/ocamlgsl-0.6.0-ocaml311.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlgsl/files/ocamlgsl-0.6.0-ocaml311.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlgsl/files/ocamlgsl-0.6.0-ocaml311.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: ocamlgsl-0.6.0-ocaml311.patch |
15 |
=================================================================== |
16 |
Makefile | 6 +++--- |
17 |
1 files changed, 3 insertions(+), 3 deletions(-) |
18 |
|
19 |
diff --git a/Makefile b/Makefile |
20 |
index ae12602..dd68657 100644 |
21 |
--- a/Makefile |
22 |
+++ b/Makefile |
23 |
@@ -16,12 +16,12 @@ OCPP := ocpp |
24 |
FORT := fort |
25 |
AWK := gawk |
26 |
|
27 |
-MNOCYGWIN ?= $(shell $(OCAMLC) -verbose foo.c 2>&1 | $(AWK) "NR==1 { print \$$3 }") |
28 |
+MNOCYGWIN ?= $(shell $(OCAMLC) -verbose foo.c 2>&1 | $(AWK) 'NR==1 { print $3 }') |
29 |
ifeq ($(MNOCYGWIN),-mnocygwin) |
30 |
OCAML_BACKEND := mingw |
31 |
endif |
32 |
|
33 |
-OCAML_BACKEND ?= $(shell $(OCAMLC) -verbose foo.c 2>&1 | $(AWK) "NR==1 { print \$$2 }") |
34 |
+OCAML_BACKEND ?= $(shell $(OCAMLC) -verbose foo.c 2>&1 | $(AWK) 'NR==1 { print $2 }') |
35 |
OCAML_VERSION ?= $(shell $(OCAMLC) -version) |
36 |
|
37 |
OCAMLBCFLAGS := -g |
38 |
@@ -94,7 +94,7 @@ SRC := wrappers.h gsl_misc.ml io.h \ |
39 |
ifeq ($(OCAML_BACKEND),cl) |
40 |
include msvc.mak |
41 |
else |
42 |
-ifeq ($(OCAML_BACKEND),gcc) |
43 |
+ifneq (,$(findstring gcc,$(OCAML_BACKEND))) |
44 |
include gcc.mak |
45 |
else |
46 |
include mingw.mak |