diff options
author | stas <stas@FreeBSD.org> | 2011-04-05 11:40:13 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2011-04-05 11:40:13 +0800 |
commit | 82db4eb84308def9db0a93199c643e61cf5216a4 (patch) | |
tree | 2beaef7f95d96a4881324a898a043df627a18880 /devel/omake | |
parent | 05fde254a83d362c59e2175aaec48ad242cbe34d (diff) | |
download | freebsd-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-OMakefile | 31 |
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 |