Subject: CVS commit: [pkgsrc-2017Q2] pkgsrc/lang/ocaml
From: S.P.Zeidler
Date: 2017-07-24 18:27:15
Message id: 20170724162715.BB521FAAF@cvs.NetBSD.org

Log Message:
Pullup ticket #5516 - requested by he
lang/ocaml: build fix for powerpc

Revisions pulled up:
- lang/ocaml/Makefile                                           patch
- lang/ocaml/PLIST.opt                                          patch
- lang/ocaml/distinfo                                           patch
- lang/ocaml/patches/patch-asmrun_signals__osdep.h              patch
- lang/ocaml/patches/patch-testsuite_tests_tool-ocamldoc-man_Makefile patch

-------------------------------------------------------------------

patches reproducing the following commit for the version in pkgsrc-2017Q2:

   Module Name:	pkgsrc
   Committed By:	he
   Date:		Tue Jul 11 17:15:02 UTC 2017

   Modified Files:
   	pkgsrc/lang/ocaml: Makefile PLIST.opt distinfo
   	pkgsrc/lang/ocaml/patches: patch-configure
   Added Files:
   	pkgsrc/lang/ocaml/patches: patch-asmrun_signals__osdep.h

   Log Message:
   Add the required glue to make this work again on NetBSD/powerpc.

   Pkgsrc changes:
   * Add required macros for accessing ucontext for NetBSD/powerpc
   * Omit files from PLIST.opt which are in PLIST.natdynlink.
     So far macppc doesn't do "natdynlink", tests are failing.
   * Adapt Makefile to features enabled on NetBSD/powerpc.
   * Bump PKGREVISION.

   The self-test results are nearly the same as on NetBSD/i386, with one
   test failing, difference is one unexpected failure related to native
   dynlink which I thought I had not enabled, and which obviously needs
   more attention since it tries to reference a Linux linker script.
   ...
   Summary:
    637 tests passed
     13 tests skipped
      1 tests failed
      1 unexpected errors
    652 tests considered

   List of failed tests:
      tests/tool-ocamldoc-man/Inline_records.mli

   List of unexpected errors:
      tests/lib-dynlink-native
   ...

   To generate a diff of this commit:
   cvs rdiff -u -r1.108 -r1.109 pkgsrc/lang/ocaml/Makefile
   cvs rdiff -u -r1.27 -r1.28 pkgsrc/lang/ocaml/PLIST.opt
   cvs rdiff -u -r1.104 -r1.105 pkgsrc/lang/ocaml/distinfo
   cvs rdiff -u -r0 -r1.1 \
      pkgsrc/lang/ocaml/patches/patch-asmrun_signals__osdep.h
   cvs rdiff -u -r1.22 -r1.23 pkgsrc/lang/ocaml/patches/patch-configure

Files:
RevisionActionfile
1.108.4.1modifypkgsrc/lang/ocaml/Makefile
1.27.4.1modifypkgsrc/lang/ocaml/PLIST.opt
1.103.4.1modifypkgsrc/lang/ocaml/distinfo
1.1.2.2addpkgsrc/lang/ocaml/patches/patch-asmrun_signals__osdep.h
1.1.2.2addpkgsrc/lang/ocaml/patches/patch-testsuite_tests_tool-ocamldoc-man_Makefile