Subject: CVS commit: [pkgsrc-2010Q3] pkgsrc/lang/ocaml
From: Matthias Scheler
Date: 2010-11-28 15:31:55
Message id: 20101128143155.46469175DD@cvs.netbsd.org

Log Message:
Pullup ticket #3287 - requested by is
lang/ocaml: portability fix

Revisions pulled up:
- lang/ocaml/Makefile.common			1.27
- lang/ocaml/PLIST				1.23
- lang/ocaml/PLIST.opt				1.17
- lang/ocaml/distinfo				1.52
- lang/ocaml/patches/patch-aw			1.8
---
Module Name:	pkgsrc
Committed By:	is
Date:		Sun Nov 28 08:41:33 UTC 2010

Modified Files:
	pkgsrc/lang/ocaml: Makefile.common PLIST PLIST.opt distinfo
	pkgsrc/lang/ocaml/patches: patch-aw

Log Message:
Make this package work again on architectures where we don't compile
natively (that is, only to byte-code).

This consists of two parts:

a) a patch to ocamldoc/Makefile to make it create the man pages using
the interpreted ocamldoc - this exists for both types of architectures,
so is safe. (This will be sent up-stream).

b) move a common shared library file to the common PLIST, and a lot of
files (natively compiled versions of the ML modules and natively compiled
versions of a few binaries) to PLIST.opt.

This has been build-tested on i386 (cross-compiled from amd64) and on
arm. unison builds and works.

"make test" shows the same amount of passed and failed tests (mostly
non-found libraries) as before; but this needs more investigation.

An additional issue to solve (with upstream) is that there's no easy way
to run the part of the test suite that would work on byte-code-only
architectures.

Files:
RevisionActionfile
1.26.2.1modifypkgsrc/lang/ocaml/Makefile.common
1.22.2.1modifypkgsrc/lang/ocaml/PLIST
1.16.2.1modifypkgsrc/lang/ocaml/PLIST.opt
1.51.2.1modifypkgsrc/lang/ocaml/distinfo
1.7.26.1modifypkgsrc/lang/ocaml/patches/patch-aw