Revision: 90204 http://trac.macports.org/changeset/90204 Author: mww@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"} {
participants (1)
-
mww@macports.org