aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cil
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2011-04-04 16:44:16 +0800
committerstas <stas@FreeBSD.org>2011-04-04 16:44:16 +0800
commitfe1ca3f7c5078f2aa54d53f09de38ae348b2d5f6 (patch)
tree2007f6d6b9fd79975922f4dc01812a9799b45a98 /devel/cil
parent6fbaf7c8d8a2db6cd38d402411692d7e69811061 (diff)
downloadfreebsd-ports-gnome-fe1ca3f7c5078f2aa54d53f09de38ae348b2d5f6.tar.gz
freebsd-ports-gnome-fe1ca3f7c5078f2aa54d53f09de38ae348b2d5f6.tar.zst
freebsd-ports-gnome-fe1ca3f7c5078f2aa54d53f09de38ae348b2d5f6.zip
- Fix build with ocaml 3.12.
Reported by: pav
Diffstat (limited to 'devel/cil')
-rw-r--r--devel/cil/files/patch-Makefile.in18
1 files changed, 18 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..9b3dea56b037
--- /dev/null
+++ b/devel/cil/files/patch-Makefile.in
@@ -0,0 +1,18 @@
+--- Makefile.in.orig 2011-04-04 01:43:30.000000000 -0700
++++ Makefile.in 2011-04-04 01:43:34.000000000 -0700
+@@ -121,7 +121,6 @@
+ @$(NARRATIVE) "Linking $(COMPILETOWHAT) $@ $(LINKMSG)"
+ $(AT)$(CAMLLINK) -verbose -o $@ \
+ $(CILLY_LIBS:%=%.$(CMXA)) \
+- $(CILLY_LIBS:%=-cclib -l%) \
+ $^
+
+
+@@ -275,7 +274,6 @@
+ $(OBJDIR)/cil.$(CMXA): $(OCAML_CIL_LIB_CMODULES:%=$(OBJDIR)/lib%.a) \
+ $(OCAML_CIL_LIB_MODULES:%=$(OBJDIR)/%.$(CMO))
+ $(CAMLLINK) -a -o $@ -ccopt -L$(pkglibdir) \
+- $(OCAML_CIL_LIB_CMODULES:%=-cclib -l%) \
+ $(OCAML_CIL_LIB_MODULES:%=$(OBJDIR)/%.$(CMO))
+
+ $(OBJDIR)/libperfcount.a: %: %($(OBJDIR)/perfcount.$(CMC))