aboutsummaryrefslogtreecommitdiffstats
path: root/devel/omake
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2011-04-05 11:40:13 +0800
committerstas <stas@FreeBSD.org>2011-04-05 11:40:13 +0800
commit82db4eb84308def9db0a93199c643e61cf5216a4 (patch)
tree2beaef7f95d96a4881324a898a043df627a18880 /devel/omake
parent05fde254a83d362c59e2175aaec48ad242cbe34d (diff)
downloadfreebsd-ports-gnome-82db4eb84308def9db0a93199c643e61cf5216a4.tar.gz
freebsd-ports-gnome-82db4eb84308def9db0a93199c643e61cf5216a4.tar.zst
freebsd-ports-gnome-82db4eb84308def9db0a93199c643e61cf5216a4.zip
- Disable some warnings to let it compile under Ocaml 3.12.
Diffstat (limited to 'devel/omake')
-rw-r--r--devel/omake/files/patch-OMakefile31
1 files changed, 27 insertions, 4 deletions
diff --git a/devel/omake/files/patch-OMakefile b/devel/omake/files/patch-OMakefile
index dfc95043eb3a..996f8222e66c 100644
--- a/devel/omake/files/patch-OMakefile
+++ b/devel/omake/files/patch-OMakefile
@@ -1,10 +1,33 @@
---- OMakefile.orig Wed Sep 6 00:43:31 2006
-+++ OMakefile Wed Sep 6 00:43:41 2006
-@@ -31,7 +31,6 @@
+--- OMakefile.orig 2007-06-22 12:03:37.000000000 -0700
++++ OMakefile 2011-04-04 20:32:58.000000000 -0700
+@@ -33,7 +33,6 @@
#
# Extra options for the C compiler
#
- CFLAGS += -g -O2 -Wall -Werror -Wno-unused
#
- # Try to build man pages on Unix
+ # We never need threads on Unix
+@@ -57,7 +56,7 @@
+ #
+ # OCaml options
+ #
+-OCAMLFLAGS[] += -w Ae$(if $(OCAML_ACCEPTS_Z_WARNING), z)
++OCAMLFLAGS[] += -w Aer-29$(if $(OCAML_ACCEPTS_Z_WARNING), z)
+ if $(THREADS_ENABLED)
+ OCAMLFLAGS += -thread
+ export
+@@ -229,11 +228,11 @@
+
+ install: $(DEFAULTFILES) $(INSTALLFILES)
+ mkdir -p $(INSTALL_LIBDIR)/omake
+- cp -f -m 444 $(DEFAULTFILES) $(INSTALL_LIBDIR)/omake/
++ $(BSD_INSTALL_DATA) $(DEFAULTFILES) $(INSTALL_LIBDIR)/omake/
+ foreach(name, $(STDLIBNAMES))
+ node = $(file $(INSTALL_LIBDIR)/omake/$(name).om)
+ mkdir -p $(dirof $(node))
+- cp -f -m 444 lib/$(name).install $(node)
++ $(BSD_INSTALL_DATA) lib/$(name).install $(node)
+
+ ########################################################################
+ # Testing