[85938] trunk/dports/databases/ocaml-mysql/Portfile

mww at macports.org mww at macports.org
Mon Oct 17 14:33:00 PDT 2011


Revision: 85938
          http://trac.macports.org/changeset/85938
Author:   mww at macports.org
Date:     2011-10-17 14:33:00 -0700 (Mon, 17 Oct 2011)
Log Message:
-----------
ocaml-mysql: fix native compilation/linking via findlib; inc. revision

Modified Paths:
--------------
    trunk/dports/databases/ocaml-mysql/Portfile

Modified: trunk/dports/databases/ocaml-mysql/Portfile
===================================================================
--- trunk/dports/databases/ocaml-mysql/Portfile	2011-10-17 21:18:15 UTC (rev 85937)
+++ trunk/dports/databases/ocaml-mysql/Portfile	2011-10-17 21:33:00 UTC (rev 85938)
@@ -5,6 +5,7 @@
 
 name                ocaml-mysql
 version             1.0.4
+revision            1
 categories          databases devel ml
 platforms           darwin
 maintainers         mww openmaintainer
@@ -35,6 +36,10 @@
 
 build.target        reallyall
 
+post-destroot {
+    system -W ${ocamlfind_destdir}/mysql "echo 'linkopts = \"-ccopt -L${prefix}/lib/mysql5/mysql/ -ccopt -L${prefix}/lib\"' >> META"
+}
+
 #livecheck.type      regex
 #livecheck.url       https://forge.ocamlcore.org/frs/?group_id=175
 #livecheck.regex     {>ocaml-extunix-(.*)\.tar\.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111017/0e3dbc56/attachment.html>


More information about the macports-changes mailing list