let omake compile with ocaml-4.00.0

- do not -Werror due to new warnings in the compiler trigger failures
- install examples
- bump REVISION
From Christopher Zimmermann <madroach@gmerlin.de>, fixes from me
This commit is contained in:
avsm 2012-08-19 00:06:31 +00:00
parent c53c905319
commit 6ab97a4958
3 changed files with 62 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2012/06/26 22:08:39 pascal Exp $
# $OpenBSD: Makefile,v 1.12 2012/08/19 00:06:31 avsm Exp $
COMMENT= build system designed for scalability and portability
CATEGORIES= devel
@ -7,7 +7,7 @@ V= 0.9.8.5
VEXTRA= 3
DISTNAME= omake-${V}-${VEXTRA}
PKGNAME= omake-${V}pl${VEXTRA}
REVISION = 3
REVISION = 4
WRKDIST= ${WRKDIR}/omake-${V}
MASTER_SITES= http://omake.metaprl.org/downloads/ \
http://www.ocaml-programming.de/godi-backup/

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-lib_build_OCaml_om,v 1.1 2012/08/19 00:06:31 avsm Exp $
OCaml 4.00 added several new warnings, which are now triggered many times.
Instead of fixing the code, just remove the -warn-error A.
--- lib/build/OCaml.om.orig Sat Aug 4 10:41:56 2012
+++ lib/build/OCaml.om Sat Aug 4 10:42:02 2012
@@ -170,7 +170,7 @@ public.PREFIXED_OCAMLPACKS =\
#
declare OCAMLDEPFLAGS
public.OCAMLPPFLAGS =
-public.OCAMLFLAGS = -warn-error A
+public.OCAMLFLAGS =
public.OCAMLCFLAGS = -g
public.OCAMLOPTFLAGS =
public.OCAMLCPPFLAGS =

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2012/06/26 22:08:39 pascal Exp $
@comment $OpenBSD: PLIST,v 1.4 2012/08/19 00:06:31 avsm Exp $
@conflict osh-*
@bin bin/cvs_realclean
bin/ocamldep-omake
@ -37,6 +37,50 @@ share/doc/omake/html/announce.txt
share/doc/omake/html/changelog.html
share/doc/omake/html/contents_motif.gif
share/doc/omake/html/download.html
share/doc/omake/html/images/
share/doc/omake/html/images/announce.ps
share/doc/omake/html/images/announce.tex
share/doc/omake/html/images/grid.ai
share/doc/omake/html/images/omake-manual.ai
share/doc/omake/html/images/omake-manual.gif
share/doc/omake/html/images/omake.ai
share/doc/omake/html/images/omake.eps
share/doc/omake/html/images/omake.gif
share/doc/omake/html/images/omake.psd
share/doc/omake/html/index.html
share/doc/omake/html/next_motif.gif
share/doc/omake/html/omake-all-index.html
share/doc/omake/html/omake-autoconf.html
share/doc/omake/html/omake-base.html
share/doc/omake/html/omake-build-examples.html
share/doc/omake/html/omake-build.html
share/doc/omake/html/omake-contents.html
share/doc/omake/html/omake-detail.html
share/doc/omake/html/omake-doc.css
share/doc/omake/html/omake-doc.html
share/doc/omake/html/omake-fun-index.html
share/doc/omake/html/omake-grammar.html
share/doc/omake/html/omake-language-examples.html
share/doc/omake/html/omake-language-naming.html
share/doc/omake/html/omake-language.html
share/doc/omake/html/omake-obj-index.html
share/doc/omake/html/omake-option-index.html
share/doc/omake/html/omake-options.html
share/doc/omake/html/omake-pervasives.html
share/doc/omake/html/omake-quickstart.html
share/doc/omake/html/omake-references.html
share/doc/omake/html/omake-rules.html
share/doc/omake/html/omake-shell.html
share/doc/omake/html/omake-system.html
share/doc/omake/html/omake-target-index.html
share/doc/omake/html/omake-toc.html
share/doc/omake/html/omake-var-index.html
share/doc/omake/html/omake.html
share/doc/omake/html/omake_lists.html
share/doc/omake/html/omake_papers.html
share/doc/omake/html/omake_users.html
share/doc/omake/html/osh.html
share/doc/omake/html/previous_motif.gif
share/doc/omake/omake-doc.pdf
share/doc/omake/omake-doc.ps
share/doc/omake/omake-doc.txt