pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/ocaml



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Wed Jul 20 14:10:09 UTC 2011

Modified Files:
        pkgsrc/lang/ocaml: Makefile Makefile.common distinfo
        pkgsrc/lang/ocaml/patches: patch-at

Log Message:
Enable native dynamic loading support on NetBSD/{i386,amd64}.

Bump pkgrevision.

While I'm here: add a comment to patch-at explaining what it does.

Tested by

$ make install
$ cd work/ocaml-3.12.0/testsuite && gmake one DIR=tests/lib-dynlink-native

(Not in a build-env because that uses the wrappers, which don't let the
test suite see the installed OCaml files.)

This is only a workaround on NetBSD/{i386,amd64} for the problems of
OCaml PR#5049 <http://caml.inria.fr/mantis/view.php?id=5049>.  (E.g.,
this workaround makes Coccinelle build on those platforms -- but it
still won't build on platforms with native compilation but no native
dynamic loading.  Need to hack everything that uses dynlink to have
four compile-time cases -- {yes,no} {byte,nat}dynlink.)


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/lang/ocaml/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/lang/ocaml/Makefile.common
cvs rdiff -u -r1.54 -r1.55 pkgsrc/lang/ocaml/distinfo
cvs rdiff -u -r1.21 -r1.22 pkgsrc/lang/ocaml/patches/patch-at

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index