Stop building Ocaml's internal ocamlbuild and use the ocaml-ocamlbuild port

where needed.

The next step towards Ocaml 4.3.0.

Bulk build by sthen@ identified several laggards which are included here.

ok anil@ sthen@ so final 4.3.0 polishing can be done in-tree.
This commit is contained in:
krw 2016-06-23 19:23:53 +00:00
parent 700f406a13
commit 50b44b65e0
31 changed files with 96 additions and 95 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.25 2016/03/29 11:27:00 naddy Exp $ # $OpenBSD: Makefile,v 1.26 2016/06/23 19:23:53 krw Exp $
COMMENT= Objective Caml bindings for PostgreSQL COMMENT= Objective Caml bindings for PostgreSQL
CATEGORIES= databases CATEGORIES= databases
@ -7,7 +7,7 @@ V= 3.2.1
NAME = ocaml-postgresql NAME = ocaml-postgresql
DISTNAME= postgresql-ocaml-${V} DISTNAME= postgresql-ocaml-${V}
PKGNAME= ${NAME}-${V} PKGNAME= ${NAME}-${V}
REVISION= 0 REVISION= 1
MASTER_SITES= https://github.com/mmottl/postgresql-ocaml/releases/download/v${V}/ MASTER_SITES= https://github.com/mmottl/postgresql-ocaml/releases/download/v${V}/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org> MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
@ -19,7 +19,7 @@ PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/ocaml MODULES= lang/ocaml
WANTLIB = pq WANTLIB = pq
BUILD_DEPENDS = sysutils/findlib BUILD_DEPENDS = sysutils/findlib devel/ocaml-ocamlbuild
LIB_DEPENDS= databases/postgresql LIB_DEPENDS= databases/postgresql
CONFIGURE_STYLE = oasis CONFIGURE_STYLE = oasis

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.28 2016/03/29 11:27:00 naddy Exp $ # $OpenBSD: Makefile,v 1.29 2016/06/23 19:23:53 krw Exp $
COMMENT= Objective Caml bindings for SQLite3 COMMENT= Objective Caml bindings for SQLite3
CATEGORIES= databases CATEGORIES= databases
@ -7,7 +7,7 @@ V= 2.0.9
NAME = ocaml-sqlite3 NAME = ocaml-sqlite3
DISTNAME= sqlite3-ocaml-${V} DISTNAME= sqlite3-ocaml-${V}
PKGNAME= ${NAME}-${V} PKGNAME= ${NAME}-${V}
REVISION= 0 REVISION= 1
MASTER_SITES= https://github.com/mmottl/sqlite3-ocaml/releases/download/v${V}/ MASTER_SITES= https://github.com/mmottl/sqlite3-ocaml/releases/download/v${V}/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org> MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
@ -19,7 +19,7 @@ PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/ocaml MODULES= lang/ocaml
WANTLIB = sqlite3 WANTLIB = sqlite3
BUILD_DEPENDS = sysutils/findlib BUILD_DEPENDS = sysutils/findlib devel/ocaml-ocamlbuild
CONFIGURE_STYLE = oasis CONFIGURE_STYLE = oasis
CONFIGURE_ARGS += --enable-tests CONFIGURE_ARGS += --enable-tests

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2016/04/27 12:36:32 jca Exp $ # $OpenBSD: Makefile,v 1.6 2016/06/23 19:23:53 krw Exp $
MULTI_PACKAGES = -ocaml -main MULTI_PACKAGES = -ocaml -main
@ -25,6 +25,7 @@ MODULES = lang/ocaml
BUILD_DEPENDS = devel/ocaml-extlib \ BUILD_DEPENDS = devel/ocaml-extlib \
lang/ocaml-camlp4 \ lang/ocaml-camlp4 \
sysutils/findlib \ sysutils/findlib \
devel/ocaml-ocamlbuild \
devel/glib2 devel/glib2
RUN_DEPENDS = devel/ocaml-extlib RUN_DEPENDS = devel/ocaml-extlib
TEST_DEPENDS = devel/ounit TEST_DEPENDS = devel/ounit

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2015/08/30 15:52:33 avsm Exp $ # $OpenBSD: Makefile,v 1.15 2016/06/23 19:23:53 krw Exp $
COMMENT = OCaml Batteries Included - OCaml foundation library COMMENT = OCaml Batteries Included - OCaml foundation library
CATEGORIES = devel CATEGORIES = devel
@ -9,6 +9,7 @@ GH_PROJECT = batteries-included
GH_TAGNAME = v$V GH_TAGNAME = v$V
DISTNAME = ${GH_PROJECT}-$V DISTNAME = ${GH_PROJECT}-$V
PKGNAME = ocaml-batteries-$V PKGNAME = ocaml-batteries-$V
REVISION = 0
HOMEPAGE = http://batteries.forge.ocamlcore.org/ HOMEPAGE = http://batteries.forge.ocamlcore.org/
@ -20,7 +21,7 @@ PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ocaml MODULES = lang/ocaml
RUN_DEPENDS = devel/ocaml-camomile RUN_DEPENDS = devel/ocaml-camomile
BUILD_DEPENDS = ${RUN_DEPENDS} sysutils/findlib BUILD_DEPENDS = ${RUN_DEPENDS} sysutils/findlib devel/ocaml-ocamlbuild
# ocaml-test not available yet # ocaml-test not available yet
#TEST_DEPENDS = devel/ounit devel/ocaml-qtest #TEST_DEPENDS = devel/ounit devel/ocaml-qtest
TEST_DEPENDS = devel/ounit TEST_DEPENDS = devel/ounit

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2015/08/30 15:57:25 avsm Exp $ # $OpenBSD: Makefile,v 1.3 2016/06/23 19:23:53 krw Exp $
COMMENT = declarative definition of command line interfaces COMMENT = declarative definition of command line interfaces
CATEGORIES = devel CATEGORIES = devel
@ -9,6 +9,7 @@ DISTNAME = ${NAME}-${V}
EXTRACT_SUFX = .tbz EXTRACT_SUFX = .tbz
PKGNAME = ocaml-${DISTNAME} PKGNAME = ocaml-${DISTNAME}
MASTER_SITES = http://erratique.ch/software/${NAME}/releases/ MASTER_SITES = http://erratique.ch/software/${NAME}/releases/
REVISION = 0
HOMEPAGE = http://erratique.ch/software/${NAME} HOMEPAGE = http://erratique.ch/software/${NAME}
@ -18,7 +19,7 @@ PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ocaml MODULES = lang/ocaml
BUILD_DEPENDS = sysutils/findlib BUILD_DEPENDS = sysutils/findlib devel/ocaml-ocamlbuild
RUN_DEPENDS = lang/ocaml RUN_DEPENDS = lang/ocaml
ALL_TARGET = ${NAME}.{cma,cmi,mli} ALL_TARGET = ${NAME}.{cma,cmi,mli}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2015/08/30 15:56:12 avsm Exp $ # $OpenBSD: Makefile,v 1.4 2016/06/23 19:23:53 krw Exp $
COMMENT = software repository analysis in OCaml COMMENT = software repository analysis in OCaml
CATEGORIES = devel CATEGORIES = devel
@ -6,7 +6,7 @@ CATEGORIES = devel
VERSION = 3.3 VERSION = 3.3
DISTNAME = dose3-${VERSION} DISTNAME = dose3-${VERSION}
PKGNAME = ocaml-dose-${VERSION} PKGNAME = ocaml-dose-${VERSION}
REVISION = 0 REVISION = 1
HOMEPAGE = http://dose.gforge.inria.fr/public_html/ HOMEPAGE = http://dose.gforge.inria.fr/public_html/
@ -28,7 +28,8 @@ BUILD_DEPENDS = sysutils/findlib \
devel/ocaml-graph \ devel/ocaml-graph \
devel/ocaml-pcre \ devel/ocaml-pcre \
devel/cudf,-main \ devel/cudf,-main \
devel/ocaml-re devel/ocaml-re \
devel/ocaml-ocamlbuild
FAKE_FLAGS = BINDIR=${WRKINST}/${PREFIX}/bin FAKE_FLAGS = BINDIR=${WRKINST}/${PREFIX}/bin

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2015/08/30 16:23:06 avsm Exp $ # $OpenBSD: Makefile,v 1.3 2016/06/23 19:23:53 krw Exp $
COMMENT = non-blocking streaming JSON codec COMMENT = non-blocking streaming JSON codec
CATEGORIES = devel CATEGORIES = devel
@ -9,7 +9,7 @@ DISTNAME = ${NAME}-${V}
EXTRACT_SUFX = .tbz EXTRACT_SUFX = .tbz
PKGNAME = ocaml-${DISTNAME} PKGNAME = ocaml-${DISTNAME}
MASTER_SITES = http://erratique.ch/software/${NAME}/releases/ MASTER_SITES = http://erratique.ch/software/${NAME}/releases/
REVISION = 1 REVISION = 2
HOMEPAGE = http://erratique.ch/software/${NAME} HOMEPAGE = http://erratique.ch/software/${NAME}
@ -22,7 +22,7 @@ MODULES = lang/ocaml
WANTLIB += c m WANTLIB += c m
RUN_DEPENDS = devel/ocaml-uutf RUN_DEPENDS = devel/ocaml-uutf
BUILD_DEPENDS = devel/ocaml-uutf BUILD_DEPENDS = devel/ocaml-uutf devel/ocaml-ocamlbuild
CONFIGURE_STYLE = oasis CONFIGURE_STYLE = oasis

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2016/03/29 11:27:01 naddy Exp $ # $OpenBSD: Makefile,v 1.17 2016/06/23 19:23:53 krw Exp $
COMMENT = library for manipulating the terminal COMMENT = library for manipulating the terminal
CATEGORIES = devel CATEGORIES = devel
@ -10,7 +10,7 @@ GH_PROJECT = lambda-term
GH_TAGNAME = $V GH_TAGNAME = $V
DISTNAME = ${GH_PROJECT}-${V} DISTNAME = ${GH_PROJECT}-${V}
PKGNAME = ocaml-${DISTNAME} PKGNAME = ocaml-${DISTNAME}
REVISION = 0 REVISION = 1
# BSD3 # BSD3
PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_CDROM = Yes
@ -19,7 +19,8 @@ WANTLIB = c ev m pthread charset
MODULES = lang/ocaml converters/libiconv MODULES = lang/ocaml converters/libiconv
BUILD_DEPENDS = devel/ocaml-lwt devel/ocaml-zed lang/ocaml-camlp4 BUILD_DEPENDS = devel/ocaml-lwt devel/ocaml-zed lang/ocaml-camlp4 \
devel/ocaml-ocamlbuild
RUN_DEPENDS = devel/ocaml-lwt devel/ocaml-zed RUN_DEPENDS = devel/ocaml-lwt devel/ocaml-zed
LIB_DEPENDS = devel/libev LIB_DEPENDS = devel/libev

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.20 2016/03/29 11:27:01 naddy Exp $ # $OpenBSD: Makefile,v 1.21 2016/06/23 19:23:53 krw Exp $
COMMENT = cooperative lightweight thread library COMMENT = cooperative lightweight thread library
CATEGORIES = devel CATEGORIES = devel
@ -6,7 +6,7 @@ CATEGORIES = devel
GH_ACCOUNT = ocsigen GH_ACCOUNT = ocsigen
GH_PROJECT = lwt GH_PROJECT = lwt
GH_TAGNAME = 2.4.8 GH_TAGNAME = 2.4.8
REVISION = 1 REVISION = 2
# This is not the latest upstream version, but the last one that is most # This is not the latest upstream version, but the last one that is most
# compatible due to an API change. Be careful about upgrading to lwt-2.5.0 # compatible due to an API change. Be careful about upgrading to lwt-2.5.0
# without checking that no in-tree ports break due to new buffer APIs. # without checking that no in-tree ports break due to new buffer APIs.
@ -26,7 +26,8 @@ MYDEPENDS = devel/ocaml-react \
textproc/ocaml-text \ textproc/ocaml-text \
security/ocaml-ssl \ security/ocaml-ssl \
devel/ocaml-ppx-tools devel/ocaml-ppx-tools
BUILD_DEPENDS = ${MYDEPENDS} sysutils/findlib lang/ocaml-camlp4 BUILD_DEPENDS = ${MYDEPENDS} sysutils/findlib lang/ocaml-camlp4 \
devel/ocaml-ocamlbuild
RUN_DEPENDS = ${MYDEPENDS} RUN_DEPENDS = ${MYDEPENDS}
LIB_DEPENDS = devel/glib2 devel/libev LIB_DEPENDS = devel/glib2 devel/libev

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2016/04/25 08:17:08 daniel Exp $ # $OpenBSD: Makefile,v 1.5 2016/06/23 19:23:53 krw Exp $
COMMENT = OCaml parser generator for LR(1) grammars COMMENT = OCaml parser generator for LR(1) grammars
DISTNAME = menhir-20160303 DISTNAME = menhir-20160303
PKGNAME = ocaml-${DISTNAME} PKGNAME = ocaml-${DISTNAME}
REVISION = 0
MASTER_SITES = http://cristal.inria.fr/~fpottier/menhir/ MASTER_SITES = http://cristal.inria.fr/~fpottier/menhir/
@ -16,7 +17,7 @@ PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ocaml MODULES = lang/ocaml
WANTLIB = c m WANTLIB = c m
BUILD_DEPENDS = sysutils/findlib BUILD_DEPENDS = sysutils/findlib devel/ocaml-ocamlbuild
USE_GMAKE = Yes USE_GMAKE = Yes
MAKE_FLAGS = docdir='${WRKINST}${PREFIX}/share/doc/ocaml-menhir' \ MAKE_FLAGS = docdir='${WRKINST}${PREFIX}/share/doc/ocaml-menhir' \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2016/03/29 11:27:00 naddy Exp $ # $OpenBSD: Makefile,v 1.5 2016/06/23 19:23:53 krw Exp $
COMMENT = OCaml parallel map primitive for multicores COMMENT = OCaml parallel map primitive for multicores
CATEGORIES = devel CATEGORIES = devel
@ -9,7 +9,7 @@ DISTNAME = ocaml-parmap-$V
DISTFILES = ${DISTNAME}{$V}.tar.gz DISTFILES = ${DISTNAME}{$V}.tar.gz
WRKDIST = ${WRKDIR}/parmap-$V WRKDIST = ${WRKDIR}/parmap-$V
PKGNAME = ocaml-parmap-${V:S/-//} PKGNAME = ocaml-parmap-${V:S/-//}
REVISION = 0 REVISION = 1
MASTER_SITES = https://github.com/rdicosmo/parmap/archive/ MASTER_SITES = https://github.com/rdicosmo/parmap/archive/
HOMEPAGE = https://github.com/rdicosmo/parmap HOMEPAGE = https://github.com/rdicosmo/parmap
@ -18,7 +18,7 @@ HOMEPAGE = https://github.com/rdicosmo/parmap
PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ocaml MODULES = lang/ocaml
BUILD_DEPENDS = sysutils/findlib BUILD_DEPENDS = sysutils/findlib devel/ocaml-ocamlbuild
USE_GMAKE = Yes USE_GMAKE = Yes
CONFIGURE_STYLE = gnu CONFIGURE_STYLE = gnu

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2016/03/29 11:27:00 naddy Exp $ # $OpenBSD: Makefile,v 1.11 2016/06/23 19:23:53 krw Exp $
COMMENT = OCaml Perl-compatible regexp library COMMENT = OCaml Perl-compatible regexp library
CATEGORIES = devel textproc CATEGORIES = devel textproc
@ -16,7 +16,7 @@ PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ocaml MODULES = lang/ocaml
BUILD_DEPENDS = sysutils/findlib BUILD_DEPENDS = sysutils/findlib devel/ocaml-ocamlbuild
LIB_DEPENDS = devel/pcre LIB_DEPENDS = devel/pcre
WANTLIB = pcre WANTLIB = pcre

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2016/02/29 15:27:18 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.5 2016/06/23 19:23:53 krw Exp $
COMMENT = regular expression library for OCaml COMMENT = regular expression library for OCaml
CATEGORIES = devel CATEGORIES = devel
@ -18,7 +18,7 @@ MODULES = lang/ocaml
USE_GMAKE = Yes USE_GMAKE = Yes
CONFIGURE_STYLE = oasis CONFIGURE_STYLE = oasis
CONFIGURE_ARGS = --enable-tests CONFIGURE_ARGS = --enable-tests
BUILD_DEPENDS = devel/ounit BUILD_DEPENDS = devel/ounit devel/ocaml-ocamlbuild
post-install: post-install:

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.7 2015/08/30 16:23:41 avsm Exp $ # $OpenBSD: Makefile,v 1.8 2016/06/23 19:23:53 krw Exp $
COMMENT = functional reactive programming (FRP) for OCaml COMMENT = functional reactive programming (FRP) for OCaml
CATEGORIES = devel CATEGORIES = devel
V = 1.2.0 V = 1.2.0
REVISION = 1 REVISION = 2
NAME = react NAME = react
DISTNAME = ${NAME}-${V} DISTNAME = ${NAME}-${V}
EXTRACT_SUFX = .tbz EXTRACT_SUFX = .tbz
@ -19,7 +19,7 @@ PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ocaml MODULES = lang/ocaml
BUILD_DEPENDS = sysutils/findlib BUILD_DEPENDS = sysutils/findlib devel/ocaml-ocamlbuild
RUN_DEPENDS = lang/ocaml RUN_DEPENDS = lang/ocaml
ALL_TARGET = ${NAME}.{cma,cmi,mli} ALL_TARGET = ${NAME}.{cma,cmi,mli}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2015/08/30 16:04:24 avsm Exp $ # $OpenBSD: Makefile,v 1.3 2016/06/23 19:23:53 krw Exp $
COMMENT = non-blocking streaming unicode codec COMMENT = non-blocking streaming unicode codec
CATEGORIES = devel CATEGORIES = devel
@ -18,7 +18,7 @@ PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ocaml MODULES = lang/ocaml
BUILD_DEPENDS = sysutils/findlib BUILD_DEPENDS = sysutils/findlib devel/ocaml-ocamlbuild
ALL_TARGET = ${NAME}.{cma,cmi,mli} ALL_TARGET = ${NAME}.{cma,cmi,mli}
.include <bsd.port.arch.mk> .include <bsd.port.arch.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2015/12/29 19:49:40 jasper Exp $ # $OpenBSD: Makefile,v 1.10 2016/06/23 19:23:53 krw Exp $
COMMENT = abstract engine for text edition COMMENT = abstract engine for text edition
CATEGORIES = devel CATEGORIES = devel
@ -7,6 +7,7 @@ GH_ACCOUNT = diml
GH_PROJECT = zed GH_PROJECT = zed
GH_TAGNAME = 1.4 GH_TAGNAME = 1.4
PKGNAME = ocaml-${DISTNAME} PKGNAME = ocaml-${DISTNAME}
REVISION = 0
HOMEPAGE = https://github.com/diml/zed/ HOMEPAGE = https://github.com/diml/zed/
@ -15,7 +16,8 @@ PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ocaml MODULES = lang/ocaml
BUILD_DEPENDS = sysutils/findlib devel/ocaml-react devel/ocaml-camomile BUILD_DEPENDS = sysutils/findlib devel/ocaml-react devel/ocaml-camomile \
devel/ocaml-ocamlbuild
RUN_DEPENDS = lang/ocaml devel/ocaml-camomile RUN_DEPENDS = lang/ocaml devel/ocaml-camomile
CONFIGURE_STYLE = oasis CONFIGURE_STYLE = oasis

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.10 2015/08/30 16:24:35 avsm Exp $ # $OpenBSD: Makefile,v 1.11 2016/06/23 19:23:53 krw Exp $
COMMENT = unit test framework for OCaml COMMENT = unit test framework for OCaml
CATEGORIES = devel CATEGORIES = devel
DISTNAME = ounit-2.0.0 DISTNAME = ounit-2.0.0
REVISION = 1 REVISION = 2
# The last url component (the number) changes every release, too. # The last url component (the number) changes every release, too.
MASTER_SITES = http://forge.ocamlcore.org/frs/download.php/1258/ MASTER_SITES = http://forge.ocamlcore.org/frs/download.php/1258/
@ -17,7 +17,9 @@ PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ocaml MODULES = lang/ocaml
BUILD_DEPENDS += sysutils/findlib lang/ocaml-camlp4 BUILD_DEPENDS += sysutils/findlib \
devel/ocaml-ocamlbuild \
lang/ocaml-camlp4
CONFIGURE_STYLE = oasis CONFIGURE_STYLE = oasis

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2015/08/31 11:39:47 sthen Exp $ # $OpenBSD: Makefile,v 1.11 2016/06/23 19:23:53 krw Exp $
COMMENT = enhanced OCaml toplevel COMMENT = enhanced OCaml toplevel
CATEGORIES = devel CATEGORIES = devel
@ -8,7 +8,7 @@ GH_ACCOUNT = diml
GH_PROJECT = utop GH_PROJECT = utop
GH_TAGNAME = ${V} GH_TAGNAME = ${V}
DISTNAME = ${GH_PROJECT}-$V DISTNAME = ${GH_PROJECT}-$V
REVISION = 1 REVISION = 2
MAINTAINER = Edd Barrett <edd@openbsd.org> MAINTAINER = Edd Barrett <edd@openbsd.org>
@ -20,7 +20,8 @@ CONFIGURE_ARGS += --enable-tests
MODULES = lang/ocaml MODULES = lang/ocaml
RUN_DEPENDS = devel/ocaml-lambda-term RUN_DEPENDS = devel/ocaml-lambda-term
BUILD_DEPENDS = ${RUN_DEPENDS} sysutils/findlib lang/ocaml-camlp4 BUILD_DEPENDS = ${RUN_DEPENDS} sysutils/findlib lang/ocaml-camlp4 \
devel/ocaml-ocamlbuild
# silence a warning # silence a warning
post-extract: post-extract:

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2016/03/18 23:12:18 naddy Exp $ # $OpenBSD: Makefile,v 1.8 2016/06/23 19:23:53 krw Exp $
# Fatal error: assertion sizeof(page_index) == GC_PAGESIZE failed on line 1110 of file gc.c # Fatal error: assertion sizeof(page_index) == GC_PAGESIZE failed on line 1110 of file gc.c
ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS= i386
@ -32,7 +32,8 @@ WANTLIB += xcb-render xcb-shm xml2 z
LIB_DEPENDS = x11/gtksourceview LIB_DEPENDS = x11/gtksourceview
BUILD_DEPENDS = ${RUN_DEPENDS} \ BUILD_DEPENDS = ${RUN_DEPENDS} \
${MODTCL_BUILD_DEPENDS} ${MODTCL_BUILD_DEPENDS} \
devel/ocaml-ocamlbuild
RUN_DEPENDS = STEM->=2.14.2p1:x11/lablgtk2 RUN_DEPENDS = STEM->=2.14.2p1:x11/lablgtk2
USE_GMAKE = Yes USE_GMAKE = Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2015/12/29 19:49:40 jasper Exp $ # $OpenBSD: Makefile,v 1.6 2016/06/23 19:23:54 krw Exp $
COMMENT = OCaml Preprocessor and Pretty-Printer COMMENT = OCaml Preprocessor and Pretty-Printer
CATEGORIES = lang CATEGORIES = lang
@ -9,6 +9,7 @@ GH_PROJECT = camlp4
GH_TAGNAME = ${V} GH_TAGNAME = ${V}
WRKDIST = ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME:S/+/-/} WRKDIST = ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME:S/+/-/}
PKGNAME = ocaml-${DISTNAME} PKGNAME = ocaml-${DISTNAME}
REVISION = 0
# No dynlink compatibility between releases # No dynlink compatibility between releases
PKGSPEC = ocaml-camlp4-=${V} PKGSPEC = ocaml-camlp4-=${V}
@ -27,6 +28,8 @@ USE_GMAKE = Yes
CONFIGURE_STYLE = simple CONFIGURE_STYLE = simple
BUILD_DEPENDS = devel/ocaml-ocamlbuild
MAKE_ENV = DESTDIR=${WRKINST} MAKE_ENV = DESTDIR=${WRKINST}
ALL_TARGET = byte ALL_TARGET = byte

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.72 2016/04/11 11:21:31 jca Exp $ # $OpenBSD: Makefile,v 1.73 2016/06/23 19:23:54 krw Exp $
MULTI_PACKAGES = -graphics -main MULTI_PACKAGES = -graphics -main
@ -9,7 +9,7 @@ COMMENT-graphics = OCaml Graphics library providing basic drawing primitives
# Do check that the ports that depend on it still work, or repair them. # 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! # Don't forget to bump version in ocaml.port.mk, too!
VERSION=4.02.3 VERSION=4.02.3
REVISION= 1 REVISION= 2
PKGNAME-main = ocaml-${VERSION} PKGNAME-main = ocaml-${VERSION}
PKGNAME-graphics = ocaml-graphics-${VERSION} PKGNAME-graphics = ocaml-graphics-${VERSION}
@ -32,7 +32,7 @@ MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_CDROM= Yes
CONFIGURE_STYLE= simple dest CONFIGURE_STYLE= simple dest
CONFIGURE_ARGS+=-prefix ${PREFIX} CONFIGURE_ARGS+=-prefix ${PREFIX} -no-ocamlbuild
CONFIGURE_ARGS+=-cc '${CC} ${CFLAGS}' CONFIGURE_ARGS+=-cc '${CC} ${CFLAGS}'
CONFIGURE_ARGS+=-x11include ${X11BASE}/include -x11lib ${X11BASE}/lib CONFIGURE_ARGS+=-x11include ${X11BASE}/include -x11lib ${X11BASE}/lib
CONFIGURE_ENV+=OPENBSD_LOCALBASE="${LOCALBASE}" CONFIGURE_ENV+=OPENBSD_LOCALBASE="${LOCALBASE}"
@ -70,9 +70,6 @@ post-install:
${PREFIX}/share/doc/ocaml/html ${PREFIX}/share/doc/ocaml/html
@${INSTALL_DATA} ${WRKDIR}/htmlman/libref/* \ @${INSTALL_DATA} ${WRKDIR}/htmlman/libref/* \
${PREFIX}/share/doc/ocaml/html/libref ${PREFIX}/share/doc/ocaml/html/libref
${INSTALL_DATA} \
${WRKSRC}/ocamlbuild/man/ocamlbuild.1 \
${PREFIX}/man/man1/
@${INSTALL_DATA} \ @${INSTALL_DATA} \
${WRKSRC}/{LICENSE,Changes} \ ${WRKSRC}/{LICENSE,Changes} \
${PREFIX}/share/doc/ocaml ${PREFIX}/share/doc/ocaml

View File

@ -1,6 +1,5 @@
@comment $OpenBSD: PFRAG.native-main,v 1.4 2015/08/30 15:38:32 avsm Exp $ @comment $OpenBSD: PFRAG.native-main,v 1.5 2016/06/23 19:23:54 krw Exp $
%%dynlink%% %%dynlink%%
@bin bin/ocamlbuild.native
@bin bin/ocamlc.opt @bin bin/ocamlc.opt
@bin bin/ocamldep.opt @bin bin/ocamldep.opt
@bin bin/ocamldoc.opt @bin bin/ocamldoc.opt
@ -138,17 +137,6 @@ lib/ocaml/nums.a
lib/ocaml/nums.cmxa lib/ocaml/nums.cmxa
lib/ocaml/obj.cmx lib/ocaml/obj.cmx
lib/ocaml/obj.p.cmx lib/ocaml/obj.p.cmx
lib/ocaml/ocamlbuild/ocamlbuild.cmx
lib/ocaml/ocamlbuild/ocamlbuild.o
lib/ocaml/ocamlbuild/ocamlbuild_executor.cmx
lib/ocaml/ocamlbuild/ocamlbuild_executor.o
lib/ocaml/ocamlbuild/ocamlbuild_pack.cmx
lib/ocaml/ocamlbuild/ocamlbuild_plugin.cmx
lib/ocaml/ocamlbuild/ocamlbuild_plugin.o
lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.cmx
lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.o
lib/ocaml/ocamlbuild/ocamlbuildlib.a
lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa
lib/ocaml/ocamldoc/odoc_info.a lib/ocaml/ocamldoc/odoc_info.a
lib/ocaml/ocamldoc/odoc_info.cmxa lib/ocaml/ocamldoc/odoc_info.cmxa
lib/ocaml/oo.cmx lib/ocaml/oo.cmx

View File

@ -1,8 +1,6 @@
@comment $OpenBSD: PLIST-main,v 1.7 2016/03/29 11:27:00 naddy Exp $ @comment $OpenBSD: PLIST-main,v 1.8 2016/06/23 19:23:54 krw Exp $
%%native%% %%native%%
@bin bin/ocaml @bin bin/ocaml
@bin bin/ocamlbuild
@bin bin/ocamlbuild.byte
@bin bin/ocamlc @bin bin/ocamlc
@bin bin/ocamlcp @bin bin/ocamlcp
@bin bin/ocamldebug @bin bin/ocamldebug
@ -486,13 +484,6 @@ lib/ocaml/obj.cmti
lib/ocaml/obj.ml lib/ocaml/obj.ml
lib/ocaml/obj.mli lib/ocaml/obj.mli
@bin lib/ocaml/objinfo_helper @bin lib/ocaml/objinfo_helper
lib/ocaml/ocamlbuild/
lib/ocaml/ocamlbuild/ocamlbuild.cmo
lib/ocaml/ocamlbuild/ocamlbuild_executor.cmi
lib/ocaml/ocamlbuild/ocamlbuild_pack.cmi
lib/ocaml/ocamlbuild/ocamlbuild_plugin.cmi
lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.cmi
lib/ocaml/ocamlbuild/ocamlbuildlib.cma
lib/ocaml/ocamldoc/ lib/ocaml/ocamldoc/
lib/ocaml/ocamldoc/custom/ lib/ocaml/ocamldoc/custom/
lib/ocaml/ocamldoc/ocamldoc.hva lib/ocaml/ocamldoc/ocamldoc.hva
@ -681,7 +672,6 @@ lib/ocaml/weak.cmti
lib/ocaml/weak.ml lib/ocaml/weak.ml
lib/ocaml/weak.mli lib/ocaml/weak.mli
@man man/man1/ocaml.1 @man man/man1/ocaml.1
@man man/man1/ocamlbuild.1
@man man/man1/ocamlc.1 @man man/man1/ocamlc.1
@man man/man1/ocamlc.opt.1 @man man/man1/ocamlc.opt.1
@man man/man1/ocamlcp.1 @man man/man1/ocamlcp.1
@ -1098,7 +1088,6 @@ share/doc/ocaml/html/names.html
share/doc/ocaml/html/native.html share/doc/ocaml/html/native.html
share/doc/ocaml/html/next_motif.gif share/doc/ocaml/html/next_motif.gif
share/doc/ocaml/html/objectexamples.html share/doc/ocaml/html/objectexamples.html
share/doc/ocaml/html/ocamlbuild.html
share/doc/ocaml/html/ocamldoc.html share/doc/ocaml/html/ocamldoc.html
share/doc/ocaml/html/patterns.html share/doc/ocaml/html/patterns.html
share/doc/ocaml/html/previous_motif.gif share/doc/ocaml/html/previous_motif.gif

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.8 2016/03/29 11:27:00 naddy Exp $ # $OpenBSD: Makefile,v 1.9 2016/06/23 19:23:54 krw Exp $
COMMENT= cryptographic framework for the Objective-ML language COMMENT= cryptographic framework for the Objective-ML language
CATEGORIES= security CATEGORIES= security
DISTNAME= cryptokit-1.10 DISTNAME= cryptokit-1.10
PKGNAME= ocaml-${DISTNAME} PKGNAME= ocaml-${DISTNAME}
REVISION= 0 REVISION= 1
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1493/ MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1493/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org> MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
@ -20,6 +20,8 @@ MODULES= lang/ocaml
CONFIGURE_STYLE = oasis CONFIGURE_STYLE = oasis
BUILD_DEPENDS = devel/ocaml-ocamlbuild
post-build: post-build:
cp -R ${WRKDIST}/api-cryptokit.docdir ${WRKDIST}/cryptokit.mli cp -R ${WRKDIST}/api-cryptokit.docdir ${WRKDIST}/cryptokit.mli

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.31 2015/08/30 15:43:47 avsm Exp $ # $OpenBSD: Makefile,v 1.32 2016/06/23 19:23:54 krw Exp $
COMMENT= OCaml package manager COMMENT= OCaml package manager
CATEGORIES= sysutils CATEGORIES= sysutils
DISTNAME= findlib-1.5.5 DISTNAME= findlib-1.5.5
REVISION= 1
MASTER_SITES= http://download.camlcity.org/download/ MASTER_SITES= http://download.camlcity.org/download/

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.14 2015/08/30 15:43:47 avsm Exp $ @comment $OpenBSD: PLIST,v 1.15 2016/06/23 19:23:54 krw Exp $
%%native%% %%native%%
@bin bin/ocamlfind @bin bin/ocamlfind
@bin bin/safe_camlp4 @bin bin/safe_camlp4
@ -35,7 +35,8 @@ lib/ocaml/num-top/num_top.cma
lib/ocaml/num-top/num_top.cmi lib/ocaml/num-top/num_top.cmi
lib/ocaml/num-top/num_top_printers.cmi lib/ocaml/num-top/num_top_printers.cmi
lib/ocaml/num/META lib/ocaml/num/META
lib/ocaml/ocamlbuild/META @comment will be installed by devel/ocaml-ocamlbuild
@comment lib/ocaml/ocamlbuild/META
lib/ocaml/stdlib/ lib/ocaml/stdlib/
lib/ocaml/stdlib/META lib/ocaml/stdlib/META
lib/ocaml/str/ lib/ocaml/str/

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2015/08/31 12:14:12 avsm Exp $ # $OpenBSD: Makefile,v 1.7 2016/06/23 19:23:54 krw Exp $
MULTI_PACKAGES = -main -lib MULTI_PACKAGES = -main -lib
@ -12,6 +12,7 @@ GH_ACCOUNT = ocaml
GH_PROJECT = opam GH_PROJECT = opam
GH_TAGNAME = ${V} GH_TAGNAME = ${V}
DISTNAME = ${GH_PROJECT}-${V} DISTNAME = ${GH_PROJECT}-${V}
REVISION = 0
PKGNAME-main = opam-${V} PKGNAME-main = opam-${V}
PKGNAME-lib = opam-lib-${V} PKGNAME-lib = opam-lib-${V}
@ -28,6 +29,7 @@ WANTLIB-main = c m
MODULES = lang/ocaml MODULES = lang/ocaml
BUILD_DEPENDS = devel/git \ BUILD_DEPENDS = devel/git \
sysutils/findlib \ sysutils/findlib \
devel/ocaml-ocamlbuild \
devel/cudf,-ocaml \ devel/cudf,-ocaml \
devel/ocaml-cmdliner \ devel/ocaml-cmdliner \
devel/ocaml-dose \ devel/ocaml-dose \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.24 2015/04/25 08:14:35 espie Exp $ # $OpenBSD: Makefile,v 1.25 2016/06/23 19:23:54 krw Exp $
COMMENT= LaTeX to html translator COMMENT= LaTeX to html translator
@ -9,6 +9,7 @@ PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c m WANTLIB= c m
DISTNAME = hevea-2.23 DISTNAME = hevea-2.23
REVISION = 0
MASTER_SITES = http://para.inria.fr/~maranget/hevea/distri/ MASTER_SITES = http://para.inria.fr/~maranget/hevea/distri/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-manual${EXTRACT_SUFX} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-manual${EXTRACT_SUFX}
@ -20,6 +21,8 @@ NO_TEST = Yes
MODULES += lang/ocaml MODULES += lang/ocaml
BUILD_DEPENDS = devel/ocaml-ocamlbuild
.include <bsd.port.arch.mk> .include <bsd.port.arch.mk>
.if ${PROPERTIES:Mocaml_native} .if ${PROPERTIES:Mocaml_native}
MAKE_FLAGS += TARGET=opt MAKE_FLAGS += TARGET=opt

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2016/01/17 17:29:10 sthen Exp $ # $OpenBSD: Makefile,v 1.7 2016/06/23 19:23:54 krw Exp $
COMMENT= pure OCaml library to read/write CSV files COMMENT= pure OCaml library to read/write CSV files
DISTNAME= csv-1.4.1 DISTNAME= csv-1.4.1
REVISION= 0 REVISION= 1
PKGNAME= ocaml-${DISTNAME} PKGNAME= ocaml-${DISTNAME}
CATEGORIES= textproc CATEGORIES= textproc
@ -21,4 +21,6 @@ MODULES= lang/ocaml
CONFIGURE_STYLE= oasis CONFIGURE_STYLE= oasis
BUILD_DEPENDS= devel/ocaml-ocamlbuild
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.8 2016/03/29 11:27:00 naddy Exp $ # $OpenBSD: Makefile,v 1.9 2016/06/23 19:23:54 krw Exp $
COMMENT = library for dealing with unicode text COMMENT = library for dealing with unicode text
CATEGORIES = devel textproc CATEGORIES = devel textproc
NAME = ocaml-text NAME = ocaml-text
DISTNAME = ${NAME}-0.6 DISTNAME = ${NAME}-0.6
REVISION = 3 REVISION = 4
MASTER_SITES = https://forge.ocamlcore.org/frs/download.php/937/ MASTER_SITES = https://forge.ocamlcore.org/frs/download.php/937/
HOMEPAGE = http://ocaml-text.forge.ocamlcore.org/ HOMEPAGE = http://ocaml-text.forge.ocamlcore.org/
@ -18,7 +18,8 @@ MODULES = converters/libiconv \
lang/ocaml lang/ocaml
RUN_DEPENDS = lang/ocaml devel/ocaml-pcre RUN_DEPENDS = lang/ocaml devel/ocaml-pcre
BUILD_DEPENDS = sysutils/findlib devel/ocaml-pcre lang/ocaml-camlp4 BUILD_DEPENDS = sysutils/findlib devel/ocaml-pcre lang/ocaml-camlp4 \
devel/ocaml-ocamlbuild
# patch-setup_ml # patch-setup_ml
BUILD_DEPENDS +=devel/gmake BUILD_DEPENDS +=devel/gmake

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2015/08/30 16:33:02 avsm Exp $ # $OpenBSD: Makefile,v 1.7 2016/06/23 19:23:54 krw Exp $
COMMENT = streaming XML input/output for OCaml COMMENT = streaming XML input/output for OCaml
CATEGORIES = textproc CATEGORIES = textproc
@ -6,6 +6,7 @@ CATEGORIES = textproc
V = 1.2.0 V = 1.2.0
NAME = xmlm NAME = xmlm
DISTNAME = ${NAME}-${V} DISTNAME = ${NAME}-${V}
REVISION = 0
PKGNAME = ocaml-${DISTNAME} PKGNAME = ocaml-${DISTNAME}
EXTRACT_SUFX = .tbz EXTRACT_SUFX = .tbz
MASTER_SITES = http://erratique.ch/software/xmlm/releases/ MASTER_SITES = http://erratique.ch/software/xmlm/releases/
@ -19,9 +20,7 @@ PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ocaml MODULES = lang/ocaml
WANTLIB = c m WANTLIB = c m
BUILD_DEPENDS = sysutils/findlib BUILD_DEPENDS = sysutils/findlib devel/ocaml-ocamlbuild
BUILD_DEPENDS = sysutils/findlib
ALL_TARGET = ${NAME}.{cma,cmi,mli} ALL_TARGET = ${NAME}.{cma,cmi,mli}
INSTALL_TARGET = ${ALL_TARGET} ${NAME}.cmt INSTALL_TARGET = ${ALL_TARGET} ${NAME}.cmt