aboutsummaryrefslogtreecommitdiff
path: root/devel/omake
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2011-04-05 03:40:13 +0000
committerStanislav Sedov <stas@FreeBSD.org>2011-04-05 03:40:13 +0000
commit85374eacf37e290d61d541216bd37b7622f46df8 (patch)
tree11175e14ce67a0c574b89cb064c91a192cde7f88 /devel/omake
parent6e916c65e77bf6f096bc8b80531bc8243f9a955f (diff)
downloadports-85374eacf37e290d61d541216bd37b7622f46df8.tar.gz
ports-85374eacf37e290d61d541216bd37b7622f46df8.zip
Notes
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