[98468] trunk/dports/lang/ruby/Portfile
kimuraw at macports.org
kimuraw at macports.org
Fri Oct 5 18:55:50 PDT 2012
Revision: 98468
http://trac.macports.org//changeset/98468
Author: kimuraw at macports.org
Date: 2012-10-05 18:55:50 -0700 (Fri, 05 Oct 2012)
Log Message:
-----------
lang/ruby: remove cppflags "-std=c89" for clang
remove cppflags "-std=c89". this option causes build error for
some native ruby extensions that uses c99 features, such as redcarpet.
Modified Paths:
--------------
trunk/dports/lang/ruby/Portfile
Modified: trunk/dports/lang/ruby/Portfile
===================================================================
--- trunk/dports/lang/ruby/Portfile 2012-10-05 23:53:52 UTC (rev 98467)
+++ trunk/dports/lang/ruby/Portfile 2012-10-06 01:55:50 UTC (rev 98468)
@@ -5,7 +5,7 @@
name ruby
version 1.8.7-p370
-revision 1
+revision 2
categories lang ruby
maintainers kimuraw
@@ -73,9 +73,7 @@
configure.compiler gcc-4.2
} elseif {${configure.compiler} == "clang"} {
if {[vercmp ${xcodeversion} 4.2] >= 0} {
- #configure.compiler gcc-4.2
configure.optflags -Os
- configure.cppflags-append -std=c89
} else {
depends_build-append port:apple-gcc42
depends_skip_archcheck-append apple-gcc42
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121005/9630ddae/attachment.html>
More information about the macports-changes
mailing list