[94784] trunk/dports/devel/ocaml-odn/Portfile
mww at macports.org
mww at macports.org
Fri Jun 29 11:57:17 PDT 2012
Revision: 94784
https://trac.macports.org/changeset/94784
Author: mww at macports.org
Date: 2012-06-29 11:57:17 -0700 (Fri, 29 Jun 2012)
Log Message:
-----------
ocaml-odn: fix compilation
Modified Paths:
--------------
trunk/dports/devel/ocaml-odn/Portfile
Modified: trunk/dports/devel/ocaml-odn/Portfile
===================================================================
--- trunk/dports/devel/ocaml-odn/Portfile 2012-06-29 18:54:29 UTC (rev 94783)
+++ trunk/dports/devel/ocaml-odn/Portfile 2012-06-29 18:57:17 UTC (rev 94784)
@@ -1,6 +1,7 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
+PortGroup ocaml 1.0
name ocaml-odn
version 0.0.8
@@ -27,15 +28,11 @@
depends_lib port:ocaml port:ocaml-type-conv
-use_configure no
+use_oasis yes
-build.env PREFIX=${prefix}
-build.target build
-use_parallel_build no
+patch {
+ reinplace "s|type-conv|type_conv|g" ${worksrcpath}/setup.ml
+}
-set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
-destroot.env OCAMLFIND_DESTDIR="$ocamlfind_destdir"
+configure.args-append "--override ocamlbuildflags '-use-ocamlfind -pkg type_conv'"
-pre-destroot {
- file mkdir ${ocamlfind_destdir}
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120629/6f155fbe/attachment.html>
More information about the macports-changes
mailing list