Revision: 79934 http://trac.macports.org/changeset/79934 Author: jeremyhu@macports.org Date: 2011-06-29 13:27:39 -0700 (Wed, 29 Jun 2011) Log Message: ----------- guile: clang build fix Modified Paths: -------------- trunk/dports/lang/guile/Portfile Modified: trunk/dports/lang/guile/Portfile =================================================================== --- trunk/dports/lang/guile/Portfile 2011-06-29 20:27:12 UTC (rev 79933) +++ trunk/dports/lang/guile/Portfile 2011-06-29 20:27:39 UTC (rev 79934) @@ -55,8 +55,14 @@ LDFLAGS="-L${prefix}/lib" \ --infodir="${prefix}/share/info" \ --mandir="${prefix}/share/man" \ - --enable-regex + --enable-regex \ + --disable-error-on-warning +post-patch { + # This changes configure to do what the author actually intended based on their comments + reinplace "s|-Werror -Wmissing-braces|-Werror=missing-braces|" ${worksrcpath}/configure +} + if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} { configure.args-append --build=${build_arch}-apple-darwin${os.version} }