[95935] trunk/dports/math/ocaml-buddy

mww at macports.org mww at macports.org
Thu Jul 26 13:39:17 PDT 2012


Revision: 95935
          https://trac.macports.org/changeset/95935
Author:   mww at macports.org
Date:     2012-07-26 13:39:17 -0700 (Thu, 26 Jul 2012)
Log Message:
-----------
ocaml-buddy: fix linker path; inc revision

Modified Paths:
--------------
    trunk/dports/math/ocaml-buddy/Portfile
    trunk/dports/math/ocaml-buddy/files/patch-myocamlbuild.ml.diff

Modified: trunk/dports/math/ocaml-buddy/Portfile
===================================================================
--- trunk/dports/math/ocaml-buddy/Portfile	2012-07-26 20:36:15 UTC (rev 95934)
+++ trunk/dports/math/ocaml-buddy/Portfile	2012-07-26 20:39:17 UTC (rev 95935)
@@ -5,7 +5,7 @@
 
 name                ocaml-buddy
 version             0.5
-revision            1
+revision            2
 categories          math devel ml
 maintainers         mww openmaintainer
 license             LGPL-3+

Modified: trunk/dports/math/ocaml-buddy/files/patch-myocamlbuild.ml.diff
===================================================================
--- trunk/dports/math/ocaml-buddy/files/patch-myocamlbuild.ml.diff	2012-07-26 20:36:15 UTC (rev 95934)
+++ trunk/dports/math/ocaml-buddy/files/patch-myocamlbuild.ml.diff	2012-07-26 20:39:17 UTC (rev 95935)
@@ -1,5 +1,5 @@
---- myocamlbuild.ml	2011-10-04 20:44:28.000000000 +0200
-+++ myocamlbuild.ml	2011-10-04 21:13:42.000000000 +0200
+--- work/ocaml-buddy-0.5/myocamlbuild.ml	2011-10-04 20:44:28.000000000 +0200
++++ myocamlbuild.ml	2012-07-26 22:34:34.000000000 +0200
 @@ -44,7 +44,7 @@
  
         (* When one link an OCaml library/binary/package, one should use -linkpkg *)
@@ -9,3 +9,16 @@
         flag ["cc"; "compile"; "g++"] (S[A"-cc"; A"g++"; A"-ccopt"; A"-fPIC"]);
         (* flag ["ocamlmklib"] (S[A"-lminisat"; A"-oc"; A"minisat_stubs" ]); *)
  
+@@ -67,10 +67,10 @@
+        end (find_syntaxes ());
+ 
+        flag ["ocaml"; "link"; "c_use_bdd"; "byte"]
+-       (S[A"-custom"; A"-ccopt"; A("-Lbdd"); A"-cclib"; A("-lbdd")]);
++       (S[A"-custom"; A"-ccopt"; A("-L at PREFIX@/lib"); A"-cclib"; A("-lbdd")]);
+ 
+        flag ["ocaml"; "link"; "c_use_bdd"; "native"]
+-       (S[A"-ccopt"; A("-Lbdd"); A"-cclib"; A("-lbdd")]);
++       (S[A"-ccopt"; A("-L at PREFIX@/lib"); A"-cclib"; A("-lbdd")]);
+ 
+        flag [ "byte"; "library"; "link" ]
+        (S[A"-dllib"; A("-lbdd"); A"-cclib"; A("-lbuddystubs")]);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120726/4609dd23/attachment.html>


More information about the macports-changes mailing list