[91362] trunk/dports/devel/apr/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Fri Mar 30 13:21:06 PDT 2012
Revision: 91362
https://trac.macports.org/changeset/91362
Author: jeremyhu at macports.org
Date: 2012-03-30 13:21:06 -0700 (Fri, 30 Mar 2012)
Log Message:
-----------
apr: Force using gcc-4.2 with XCode 3.x since gcc-4.0 generates bad code in translation. Dev ack via email
Modified Paths:
--------------
trunk/dports/devel/apr/Portfile
Modified: trunk/dports/devel/apr/Portfile
===================================================================
--- trunk/dports/devel/apr/Portfile 2012-03-30 20:20:08 UTC (rev 91361)
+++ trunk/dports/devel/apr/Portfile 2012-03-30 20:21:06 UTC (rev 91362)
@@ -4,6 +4,7 @@
name apr
version 1.4.6
+revision 1
categories devel
maintainers geeklair.net:dluke
platforms darwin
@@ -23,6 +24,13 @@
sha1 1a72fc9d89a378590ef243399396169426d1f6cf \
rmd160 ca496323a921f71ed28695ede94ff4fc00df9b0d
+# XCode 3.x's gcc-4.0 generates bad code in apr's translation which can be caught by enabling
+# debugging in apr, apr-util, and subversion with LANG="en_US.UTF-8"
+# Assertion failed: (node->next == NULL), function put_xlate_handle_node, file subversion/libsvn_subr/utf.c, line 378.
+if {${configure.compiler} == "gcc-4.0" && [vercmp ${xcodeversion} 3.0] >= 0} {
+ configure.compiler gcc-4.2
+}
+
use_parallel_build yes
configure.ccache no
#configure's tests don't work right for sed/gsed if we just set SED here
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120330/062383b9/attachment.html>
More information about the macports-changes
mailing list