[95950] trunk/dports/devel/ocaml-uint
mww at macports.org
mww at macports.org
Thu Jul 26 16:09:14 PDT 2012
Revision: 95950
https://trac.macports.org/changeset/95950
Author: mww at macports.org
Date: 2012-07-26 16:09:14 -0700 (Thu, 26 Jul 2012)
Log Message:
-----------
ocaml-uint: disable test and avoid dependency on ocaml-ospec (currently broken for OCaml 4.0); inc revision
Modified Paths:
--------------
trunk/dports/devel/ocaml-uint/Portfile
Added Paths:
-----------
trunk/dports/devel/ocaml-uint/files/
trunk/dports/devel/ocaml-uint/files/patch-_oasis.diff
Modified: trunk/dports/devel/ocaml-uint/Portfile
===================================================================
--- trunk/dports/devel/ocaml-uint/Portfile 2012-07-26 22:58:20 UTC (rev 95949)
+++ trunk/dports/devel/ocaml-uint/Portfile 2012-07-26 23:09:14 UTC (rev 95950)
@@ -5,7 +5,7 @@
name ocaml-uint
version 1.0.2
-revision 1
+revision 2
categories devel ml
platforms darwin
license BSD
@@ -17,9 +17,15 @@
checksums rmd160 c58a243d30ed3d49c0e1f3cb836325279f63528f \
sha256 fb0c54fdb29210c38a9c1737f40ea20370bf724895c8f80271942dbdb56a3334
-depends_build port:ocaml-ospec
+depends_build port:oasis
depends_lib port:ocaml port:ocaml-findlib
+patchfiles patch-_oasis.diff
+
+pre-configure {
+ system "cd ${worksrcpath} && ${prefix}/bin/oasis setup"
+}
+
use_oasis yes
use_oasis_doc yes
Added: trunk/dports/devel/ocaml-uint/files/patch-_oasis.diff
===================================================================
--- trunk/dports/devel/ocaml-uint/files/patch-_oasis.diff (rev 0)
+++ trunk/dports/devel/ocaml-uint/files/patch-_oasis.diff 2012-07-26 23:09:14 UTC (rev 95950)
@@ -0,0 +1,12 @@
+--- work/ocaml-uint-1.0.2/_oasis 2012-03-19 16:01:35.000000000 +0100
++++ _oasis 2012-07-27 01:07:08.000000000 +0200
+@@ -41,9 +41,3 @@
+ CompiledObject: best
+ Modules: Uint128
+
+-Test spec
+- TestTools: ospec
+- WorkingDirectory: _build/lib
+- PreCommand: cp -r ../../spec .
+- Command: ospec spec/uint*.ml
+- PostCommand: rm -rf spec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120726/8746866e/attachment.html>
More information about the macports-changes
mailing list