update lang/ocaml to 4.00.1.

Let all ocaml ports RUN_DEPEND on the version of ocaml they were built with.
This commit is contained in:
chrisz 2012-11-30 19:38:09 +00:00
parent 65055d41e1
commit 0081341c9f
32 changed files with 94 additions and 70 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2012/08/18 22:22:41 avsm Exp $
# $OpenBSD: Makefile,v 1.5 2012/11/30 19:38:09 chrisz Exp $
COMMENT = OCaml Perl-compatible regexp library
CATEGORIES = devel textproc
V = 7.0.2
REVISION= 0
NAME = ocaml-pcre
DISTNAME = pcre-ocaml-$V
PKGNAME = ${NAME}-$V

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/08/18 23:13:53 avsm Exp $
# $OpenBSD: Makefile,v 1.2 2012/11/30 19:38:09 chrisz Exp $
COMMENT = functional reactive programming (FRP) for OCaml
CATEGORIES = devel
V = 0.9.4
REVISION = 0
DISTNAME = react-${V}
EXTRACT_SUFX = .tbz
NAME = ocaml-react

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.2 2012/08/24 09:33:31 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2012/11/30 19:38:09 chrisz Exp $
COMMENT = abstract engine for text edition
CATEGORIES = devel
DISTNAME = zed-1.2
PKGNAME = ocaml-${DISTNAME}
REVISION = 0
REVISION = 1
MASTER_SITES = http://forge.ocamlcore.org/frs/download.php/944/
HOMEPAGE = http://forge.ocamlcore.org/projects/zed/

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2012/08/19 00:06:31 avsm Exp $
# $OpenBSD: Makefile,v 1.13 2012/11/30 19:38:09 chrisz 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 = 4
REVISION = 5
WRKDIST= ${WRKDIR}/omake-${V}
MASTER_SITES= http://omake.metaprl.org/downloads/ \
http://www.ocaml-programming.de/godi-backup/

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2012/08/18 22:26:12 avsm Exp $
# $OpenBSD: Makefile,v 1.4 2012/11/30 19:38:09 chrisz Exp $
COMMENT = unit test framework for OCaml
CATEGORIES = devel
DISTNAME = ounit-1.1.2
REVISION= 0
# The last url component (the number) changes every release, too.
MASTER_SITES = http://forge.ocamlcore.org/frs/download.php/886/

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.1 2012/08/18 23:35:30 avsm Exp $
# $OpenBSD: Makefile,v 1.2 2012/11/30 19:38:09 chrisz Exp $
COMMENT= image manipulation functions for Objective Caml
CATEGORIES= graphics
V= 4.0.1
REVISION= 0
DISTNAME= camlimages-$V
PKGNAME= ocaml-${DISTNAME}
DISTFILES= v$V.tar.gz

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2011/10/21 20:23:02 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2012/11/30 19:38:09 chrisz Exp $
# Fatal error: assertion sizeof(page_index) == GC_PAGESIZE failed on line 1110 of file gc.c
ONLY_FOR_ARCHS= i386
@ -8,6 +8,7 @@ SHARED_ONLY = Yes
COMMENT = Oxford Oberon-2 compiler
DISTNAME = obc-2.9.2
REVISION = 0
CATEGORIES = lang
HOMEPAGE = http://spivey.oriel.ox.ac.uk/corner/Oxford_Oberon-2_compiler

View File

@ -1,16 +1,23 @@
# $OpenBSD: Makefile,v 1.59 2012/11/01 07:57:26 avsm Exp $
# XXX Don't even think of updating ocaml alone.
# Do check that the ports that depend on it still work, or repair them.
# $OpenBSD: Makefile,v 1.60 2012/11/30 19:38:09 chrisz Exp $
NOT_FOR_ARCHS= hppa
COMMENT= ML language based on complete class-based objective system
COMMENT = ML language based on complete class-based objective system
# XXX Don't even think of updating ocaml alone.
# Do check that the ports that depend on it still work, or repair them.
# Don't forget to bump version in ocaml.port.mk, too!
VERSION=4.00.1
DISTNAME = ocaml-${VERSION}
PKGNAME = ocaml-${VERSION}
# OCaml has no binary compatibility between releases.
PKGSPEC = ocaml-=${VERSION}
BASENAME= ocaml-4.00
DISTNAME= ${BASENAME}.0
REVISION= 3
CATEGORIES= lang
# Remove last version component ocaml-X.XX.X -> ocaml-X.XX
BASENAME = ${DISTNAME:C/\.[^.]*$//}
MASTER_SITES= http://caml.inria.fr/pub/distrib/${BASENAME}/
DOCFILES= ${BASENAME}-refman-html.tar.gz
DISTFILES= ${DISTNAME}.tar.gz ${DOCFILES}
@ -23,7 +30,6 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 c curses iberty m pthread z
MODULES+= lang/tcl x11/tk
@ -41,25 +47,25 @@ FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX}
USE_GMAKE= Yes
BUILD_DEPENDS +=${MODTK_BUILD_DEPENDS} \
devel/gdb
RUN_DEPENDS += ${MODTK_RUN_DEPENDS}
LIB_DEPENDS += ${MODTK_LIB_DEPENDS}
WANTLIB += ${MODTK_WANTLIB}
BUILD_DEPENDS += ${MODTK_BUILD_DEPENDS} \
devel/gdb
RUN_DEPENDS += ${MODTK_RUN_DEPENDS}
LIB_DEPENDS += ${MODTK_LIB_DEPENDS}
WANTLIB = X11 c curses iberty m pthread z ${MODTK_WANTLIB}
.include <bsd.port.arch.mk>
.if ${PROPERTIES:Mocaml_native}
ALL_TARGET= world bootstrap opt opt.opt
PKG_ARGS+=-Dnative=1
PKG_ARGS += -Dnative=1
.if ${PROPERTIES:Mocaml_native_dynlink}
PKG_ARGS+=-Ddynlink=1
PKG_ARGS += -Ddynlink=1
.else
PKG_ARGS+=-Ddynlink=0
PKG_ARGS += -Ddynlink=0
.endif
.else
ALL_TARGET= world bootstrap
PKG_ARGS+=-Dnative=0
PKG_ARGS += -Dnative=0
.endif
# XXX regress tests only work on archs with native-code compiler
@ -80,7 +86,9 @@ post-install:
@${INSTALL_DATA} ${WRKDIR}/htmlman/libref/* \
${PREFIX}/share/doc/ocaml/html/libref
@strip ${PREFIX}/bin/ocamlrun ${PREFIX}/bin/ocamlyacc
@${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/ocaml
@${INSTALL_DATA} \
${WRKSRC}/{LICENSE,Changes} \
${PREFIX}/share/doc/ocaml
# PFRAG.native was generated from PLIST with:
# egrep '(ocamlopt|\.cmx|\.cmxa|\.cmxs|\.opt|opt\.1|opt.cmi|\.native|\.o)$'

View File

@ -1,4 +1,4 @@
SHA256 (ocaml-4.00-refman-html.tar.gz) = jKQ4WdinHwlBokU7e4CNflitVIBKnPKFh1+jDmV2sxo=
SHA256 (ocaml-4.00.0.tar.gz) = nqVURTgUSBG1/ZxxctY6vA0ca6a2TSxgR0gH/FetTG4=
SHA256 (ocaml-4.00.1.tar.gz) = tI1cfTv0oM1hJfj9/B9lTdZVhghzmdyfFHFte5U16Ho=
SIZE (ocaml-4.00-refman-html.tar.gz) = 549757
SIZE (ocaml-4.00.0.tar.gz) = 3394054
SIZE (ocaml-4.00.1.tar.gz) = 3394854

View File

@ -1,4 +1,4 @@
# $OpenBSD: ocaml.port.mk,v 1.20 2012/09/05 21:36:31 avsm Exp $
# $OpenBSD: ocaml.port.mk,v 1.21 2012/11/30 19:38:09 chrisz Exp $
# regular file usage for bytecode:
# PLIST -- bytecode base files
@ -9,10 +9,12 @@
# PFRAG.foo-native -- nativecode files for FLAVOR == foo
# PFRAG.no-foo-native -- nativecode files for FLAVOR != foo
OCAML_VERSION=4.00.0
OCAML_VERSION=4.00.1
.include <bsd.port.arch.mk>
RUN_DEPENDS+= lang/ocaml
.if ${PROPERTIES:Mocaml_native}
MODOCAML_NATIVE=Yes
@ -36,16 +38,13 @@ PKG_ARGS+=-Ddynlink=0
.else
MODOCAML_NATIVE=No
RUN_DEPENDS+= lang/ocaml=${OCAML_VERSION}
# remove native base file entry from PLIST
PKG_ARGS+=-Dnative=0
.endif
BUILD_DEPENDS+= lang/ocaml=${OCAML_VERSION}
MAKE_ENV+= OCAMLFIND_DESTDIR=${DESTDIR}${TRUEPREFIX}/lib/ocaml
NAME ?= ${PKGNAME:C/-[0-9].*//}
BUILD_DEPENDS += lang/ocaml
MAKE_ENV += OCAMLFIND_DESTDIR=${DESTDIR}${TRUEPREFIX}/lib/ocaml
MODOCAML_pre-fake = \
${SUDO} ${INSTALL_DATA_DIR} ${WRKINST}${LOCALBASE}/lib/ocaml/stublibs
@ -81,7 +80,7 @@ MODOASIS_configure = \
--destdir ${WRKINST} \
--mandir ${PREFIX}/man \
--infodir ${PREFIX}/info \
--override pkg_name ${NAME} \
--override pkg_name ${PKGNAME:C/-[0-9].*//} \
${CONFIGURE_ARGS}
######################################################################

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PFRAG.dynlink-native,v 1.2 2012/08/18 21:49:16 avsm Exp $
@comment $OpenBSD: PFRAG.dynlink-native,v 1.3 2012/11/30 19:38:09 chrisz Exp $
@bin lib/ocaml/bigarray.cmxs
lib/ocaml/dynlink.a
lib/ocaml/dynlink.cmx

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PFRAG.native,v 1.13 2012/08/18 21:49:16 avsm Exp $
@comment $OpenBSD: PFRAG.native,v 1.14 2012/11/30 19:38:09 chrisz Exp $
%%dynlink%%
@bin bin/camlp4o.opt
@bin bin/camlp4of.opt
@bin bin/camlp4oof.opt
@ -367,4 +368,3 @@ lib/ocaml/unix.cmxa
lib/ocaml/unixLabels.cmx
lib/ocaml/weak.cmx
lib/ocaml/weak.p.cmx
%%dynlink%%

View File

@ -1,5 +1,6 @@
@comment $OpenBSD: PFRAG.shared,v 1.4 2012/08/18 21:49:16 avsm Exp $
@comment $OpenBSD: PFRAG.shared,v 1.5 2012/11/30 19:38:09 chrisz Exp $
lib/ocaml/libcamlrun_shared.so
lib/ocaml/stublibs/
lib/ocaml/stublibs/dllbigarray.so
lib/ocaml/stublibs/dllcamlstr.so
lib/ocaml/stublibs/dllgraphics.so

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.22 2012/08/18 21:49:16 avsm Exp $
@comment $OpenBSD: PLIST,v 1.23 2012/11/30 19:38:09 chrisz Exp $
%%native%%
%%SHARED%%
bin/camlp4
bin/camlp4boot
@ -676,7 +677,6 @@ lib/ocaml/string.mli
lib/ocaml/stringLabels.cmi
lib/ocaml/stringLabels.ml
lib/ocaml/stringLabels.mli
lib/ocaml/stublibs/
lib/ocaml/sys.cmi
lib/ocaml/sys.ml
lib/ocaml/sys.mli
@ -814,6 +814,7 @@ lib/ocaml/weak.mli
@man man/man3/Weak.Make.3o
@man man/man3/Weak.S.3o
share/doc/ocaml/
share/doc/ocaml/Changes
share/doc/ocaml/LICENSE
share/doc/ocaml/html/
share/doc/ocaml/html/contents_motif.gif
@ -1081,4 +1082,3 @@ share/doc/ocaml/html/next_motif.gif
share/doc/ocaml/html/patterns.html
share/doc/ocaml/html/previous_motif.gif
share/doc/ocaml/html/types.html
%%native%%

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2010/11/17 08:05:18 espie Exp $
# $OpenBSD: Makefile,v 1.10 2012/11/30 19:38:09 chrisz Exp $
COMMENT= XML extension types for Objective Caml
CATEGORIES= lang textproc
@ -6,7 +6,7 @@ CATEGORIES= lang textproc
BROKEN= "needs update to match OCaml 3.11"
V= 3.09.2pl1
DISTNAME= ocamlduce-${V}
REVISION= 0
REVISION= 1
MASTER_SITES= http://pauillac.inria.fr/~frisch/ocamlcduce/download/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.16 2010/11/19 07:23:10 espie Exp $
# $OpenBSD: Makefile,v 1.17 2012/11/30 19:38:09 chrisz Exp $
BROKEN= requires update due to ocaml 3.08
COMMENT= proof assistant based on a typed lambda calculus
DISTNAME= coq-7.3.1
REVISION= 0
REVISION= 1
CATEGORIES= math
HOMEPAGE= http://coq.inria.fr/

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.50 2012/08/18 23:47:27 avsm Exp $
# $OpenBSD: Makefile,v 1.51 2012/11/30 19:38:09 chrisz Exp $
COMMENT = e-donkey client
DISTNAME = mldonkey-3.1.3
REVISION= 0
CATEGORIES = net
HOMEPAGE = http://mldonkey.sourceforge.net/Main_Page

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile.inc,v 1.19 2012/11/20 15:18:31 giovanni Exp $
# $OpenBSD: Makefile.inc,v 1.20 2012/11/30 19:38:09 chrisz Exp $
DISTNAME= unison-$V
CATEGORIES= net
REVISION= 2
HOMEPAGE= http://www.cis.upenn.edu/~bcpierce/unison/
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.10 2010/10/11 08:16:52 jasper Exp $
# $OpenBSD: Makefile,v 1.11 2012/11/30 19:38:09 chrisz Exp $
COMMENT= multi-platform file synchronization tool, beta version
V= 2.27.57
REVISION= 4
REVISION= 5
MASTER_SITES= ${HOMEPAGE}download/releases/beta/

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.19 2012/11/20 15:18:31 giovanni Exp $
# $OpenBSD: Makefile,v 1.20 2012/11/30 19:38:09 chrisz Exp $
COMMENT= multi-platform file synchronization tool
V= 2.40.102
REVISION = 1
MASTER_SITES= ${HOMEPAGE}download/releases/stable/

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.17 2012/08/23 16:40:38 avsm Exp $
# $OpenBSD: Makefile,v 1.18 2012/11/30 19:38:09 chrisz Exp $
COMMENT= curses calendar front-end to remind
DISTNAME= wyrd-1.4.5
REVISION= 0
CATEGORIES= productivity
HOMEPAGE= http://pessimization.com/software/wyrd/

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2012/09/05 21:40:20 avsm Exp $
# $OpenBSD: Makefile,v 1.4 2012/11/30 19:38:09 chrisz Exp $
COMMENT= cryptographic framework for the Objective-ML language
CATEGORIES= security
DISTNAME= cryptokit-1.6
REVISION= 2
REVISION= 3
PKGNAME= ocaml-${DISTNAME}
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/891/

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2012/08/18 22:58:00 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.3 2012/11/30 19:38:09 chrisz Exp $
COMMENT = OCaml bindings for libssl
CATEGORIES = devel security
@ -6,7 +6,7 @@ CATEGORIES = devel security
NAME = ocaml-ssl
DISTNAME = ${NAME}-0.4.6
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=savonet/ocaml-ssl/}
REVISION = 0
REVISION = 1
HOMEPAGE = http://sourceforge.net/projects/savonet/files/ocaml-ssl/

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.23 2012/08/18 22:24:50 avsm Exp $
# $OpenBSD: Makefile,v 1.24 2012/11/30 19:38:09 chrisz Exp $
COMMENT= OCaml package manager
CATEGORIES= sysutils
DISTNAME= findlib-1.3.3
REVISION= 0
MASTER_SITES= http://download.camlcity.org/download/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.27 2012/09/23 17:09:54 jeremy Exp $
# $OpenBSD: Makefile,v 1.28 2012/11/30 19:38:09 chrisz Exp $
SHARED_ONLY= Yes
@ -7,7 +7,7 @@ NOT_FOR_ARCHS= mips64 mips64el
COMMENT= source code search engine
DISTNAME= gonzui-1.2
REVISION= 21
REVISION= 22
CATEGORIES= textproc www
HOMEPAGE= http://gonzui.sourceforge.net/

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2012/08/18 22:47:00 avsm Exp $
# $OpenBSD: Makefile,v 1.20 2012/11/30 19:38:09 chrisz Exp $
COMMENT= LaTeX to html translator
@ -14,6 +14,7 @@ WANTLIB= c m
BUILD_DEPENDS= lang/ocaml
DISTNAME = hevea-1.10
REVISION = 0
MASTER_SITES = http://para.inria.fr/~maranget/hevea/distri/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-manual${EXTRACT_SUFX}

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/11/06 20:55:36 jasper Exp $
# $OpenBSD: Makefile,v 1.2 2012/11/30 19:38:09 chrisz Exp $
COMMENT= pure OCaml library to read/write CSV files
DISTNAME= csv-1.2.3
REVISION= 0
PKGNAME= ocaml-${DISTNAME}
CATEGORIES= textproc

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.9 2012/08/18 22:28:53 avsm Exp $
# $OpenBSD: Makefile,v 1.10 2012/11/30 19:38:09 chrisz Exp $
COMMENT= Objective Caml library to parse RSS 2.0
CATEGORIES= textproc
V= 2.0
REVISION= 0
DISTNAME= ocamlrss-${V}
PKGNAME= ocaml-rss-${V}
MASTER_SITES= http://zoggy.github.com/ocamlrss/

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/08/18 22:49:29 avsm Exp $
# $OpenBSD: Makefile,v 1.2 2012/11/30 19:38:09 chrisz Exp $
COMMENT = library for dealing with unicode text
CATEGORIES = devel textproc
NAME = ocaml-text
DISTNAME = ${NAME}-0.6
REVISION = 0
MASTER_SITES = https://forge.ocamlcore.org/frs/download.php/937/
HOMEPAGE = http://ocaml-text.forge.ocamlcore.org/

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2012/08/18 23:02:37 avsm Exp $
# $OpenBSD: Makefile,v 1.10 2012/11/30 19:38:09 chrisz Exp $
COMMENT= simple XML parser/printer for OCaml
CATEGORIES= textproc
@ -6,7 +6,7 @@ CATEGORIES= textproc
V= 2.2
DISTNAME= xml-light-${V}
PKGNAME= ocaml-${DISTNAME}
REVISION = 4
REVISION = 5
EXTRACT_SUFX= .zip
MASTER_SITES= http://tech.motion-twin.com/zip/

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/08/18 22:51:21 avsm Exp $
# $OpenBSD: Makefile,v 1.2 2012/11/30 19:38:09 chrisz Exp $
COMMENT = streaming XML input/output for OCaml
CATEGORIES = textproc
V = 1.1.0
REVISION= 0
DISTNAME = xmlm-${V}
PKGNAME = ocaml-${DISTNAME}
EXTRACT_SUFX = .tbz

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.20 2012/10/09 09:22:24 dcoppa Exp $
# $OpenBSD: Makefile,v 1.21 2012/11/30 19:38:09 chrisz Exp $
COMMENT = OCaml interface to GTK+2
V = 2.16.0
REVISION= 0
DISTNAME = lablgtk-$V
PKGNAME = lablgtk2-$V
CATEGORIES = x11 devel