[90204] trunk/dports/devel/ocaml-bin-prot/Portfile
mww at macports.org
mww at macports.org
Sun Feb 26 06:42:50 PST 2012
Revision: 90204
http://trac.macports.org/changeset/90204
Author: mww at macports.org
Date: 2012-02-26 06:42:46 -0800 (Sun, 26 Feb 2012)
Log Message:
-----------
ocaml-bin-prot: fix build with gcc -- it does not know -Wno-array-bound
Modified Paths:
--------------
trunk/dports/devel/ocaml-bin-prot/Portfile
Modified: trunk/dports/devel/ocaml-bin-prot/Portfile
===================================================================
--- trunk/dports/devel/ocaml-bin-prot/Portfile 2012-02-26 12:56:55 UTC (rev 90203)
+++ trunk/dports/devel/ocaml-bin-prot/Portfile 2012-02-26 14:42:46 UTC (rev 90204)
@@ -25,7 +25,10 @@
rmd160 fe02221b20f2bb176a2a5e6f293c906470f945ce
# remove me if http://caml.inria.fr/mantis/view.php?id=5516 is fixed
-patchfiles patch-myocamlbuild.ml.diff
+if {${configure.compiler} == "clang"} {
+ patchfiles-append patch-myocamlbuild.ml.diff
+}
+
post-patch {
# deal with C99 semantics of inline
if {${configure.compiler} == "clang"} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120226/52ab711c/attachment.html>
More information about the macports-changes
mailing list