aboutsummaryrefslogtreecommitdiff
path: root/devel/cil
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-04-11 13:23:05 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-04-11 13:23:05 +0000
commitc6762e80516b169cd71a8d7e68d0ed5b308f7e55 (patch)
treef23cbb8b9252353d844bff7e183b8b588e997854 /devel/cil
parent3b03d918066c823f39536b8d108d1145c833a3dd (diff)
downloadports-c6762e80516b169cd71a8d7e68d0ed5b308f7e55.tar.gz
ports-c6762e80516b169cd71a8d7e68d0ed5b308f7e55.zip
Notes
Diffstat (limited to 'devel/cil')
-rw-r--r--devel/cil/files/patch-Makefile.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/devel/cil/files/patch-Makefile.in b/devel/cil/files/patch-Makefile.in
new file mode 100644
index 000000000000..42d13b825bba
--- /dev/null
+++ b/devel/cil/files/patch-Makefile.in
@@ -0,0 +1,25 @@
+--- Makefile.in.orig 2009-04-10 02:07:19.000000000 +0400
++++ Makefile.in 2009-04-10 02:07:54.000000000 +0400
+@@ -213,7 +213,7 @@
+ # build two libraries
+ .PHONY: cillib libcil
+ ifeq ($(NATIVECAML),1)
+-cillib: $(OBJDIR)/cil.$(CMXA) $(OBJDIR)/libcil.a
++cillib: $(OBJDIR)/cil.$(CMXA) $(OBJDIR)/libcil.o
+ else
+ cillib: $(OBJDIR)/cil.$(CMXA)
+ endif
+@@ -271,11 +271,11 @@
+ # be called from C code; this is like the target above, except
+ # it is callable from C instead of from Ocaml
+ ifeq ($(NATIVECAML),1)
+-$(OBJDIR)/libcil.a: $(OCAML_CIL_LIB_CMODULES:%=$(OBJDIR)/lib%.a) \
++$(OBJDIR)/libcil.o: $(OCAML_CIL_LIB_CMODULES:%=$(OBJDIR)/lib%.a) \
+ $(OCAML_CIL_LIB_MODULES:%=$(OBJDIR)/%.$(CMO))
+ ocamlopt -output-obj -o $@ $(CILLY_LIBS:%=%.cmxa) $^
+ else
+-$(OBJDIR)/libcil.a:
++$(OBJDIR)/libcil.o:
+ @echo "Can only build $@ when NATIVECAML is 1."
+ exit 2
+ endif