Revision
95970
Author
mww@macports.org
Date
2012-07-27 01:16:47 -0700 (Fri, 27 Jul 2012)

Log Message

ocaml-csv: rebuild the build system to compile with OCaml 4.0; inc revision;

Modified Paths

Diff

Modified: trunk/dports/devel/ocaml-csv/Portfile (95969 => 95970)


--- trunk/dports/devel/ocaml-csv/Portfile	2012-07-27 08:13:58 UTC (rev 95969)
+++ trunk/dports/devel/ocaml-csv/Portfile	2012-07-27 08:16:47 UTC (rev 95970)
@@ -5,7 +5,7 @@
 
 name                ocaml-csv
 version             1.2.2
-revision            1
+revision            2
 categories          devel ml
 license             LGPL-2.1
 maintainers         landonf openmaintainer
@@ -24,5 +24,11 @@
 checksums           rmd160  aa1bbe1ebb45888fdf2e0f024eb50e29ca2d5282 \
                     sha256  be12ab46e798ab9bbcbfd5f479f4ccc04b9e9666143078c522aed523ef74b80c
 
+# re-building the build system is necessary for v1.2.2 with OCaml 4.00.0 -- remove asap
+depends_build       port:oasis
+pre-configure {
+    system "cd ${worksrcpath} && ${prefix}/bin/oasis setup"
+}
+
 use_oasis           yes