[87124] trunk/dports/lang/apple-gcc40
royliu at macports.org
royliu at macports.org
Thu Nov 10 17:49:49 PST 2011
Revision: 87124
http://trac.macports.org/changeset/87124
Author: royliu at macports.org
Date: 2011-11-10 17:49:48 -0800 (Thu, 10 Nov 2011)
Log Message:
-----------
apple-gcc40: change the behavior of the isysroot option; analogous to r87123
Revision Links:
--------------
http://trac.macports.org/changeset/87123
Modified Paths:
--------------
trunk/dports/lang/apple-gcc40/Portfile
Added Paths:
-----------
trunk/dports/lang/apple-gcc40/files/patch-c-incpath.c.diff
Modified: trunk/dports/lang/apple-gcc40/Portfile
===================================================================
--- trunk/dports/lang/apple-gcc40/Portfile 2011-11-11 01:10:14 UTC (rev 87123)
+++ trunk/dports/lang/apple-gcc40/Portfile 2011-11-11 01:49:48 UTC (rev 87124)
@@ -4,6 +4,7 @@
name apple-gcc40
version 5493
+revision 1
categories lang
platforms darwin
maintainers nomaintainer
@@ -34,6 +35,8 @@
configure.cppflags
configure.env PATH="/bin:/usr/bin:/sbin:/usr/sbin"
+patchfiles patch-c-incpath.c.diff
+
platform darwin 8 {
patchfiles patch-config-darwin.h
}
Added: trunk/dports/lang/apple-gcc40/files/patch-c-incpath.c.diff
===================================================================
--- trunk/dports/lang/apple-gcc40/files/patch-c-incpath.c.diff (rev 0)
+++ trunk/dports/lang/apple-gcc40/files/patch-c-incpath.c.diff 2011-11-11 01:49:48 UTC (rev 87124)
@@ -0,0 +1,14 @@
+--- gcc/c-incpath.c.orig 2011-11-10 20:34:44.000000000 -0500
++++ gcc/c-incpath.c 2011-11-10 20:34:44.000000000 -0500
+@@ -157,10 +157,7 @@
+ char *str;
+
+ /* Should this directory start with the sysroot? */
+- if (sysroot && p->add_sysroot)
+- str = concat (sysroot, p->fname, NULL);
+- else
+- str = update_path (p->fname, p->component);
++ str = update_path (p->fname, p->component);
+
+ add_path (str, SYSTEM, p->cxx_aware, false);
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111110/22be9ed2/attachment.html>
More information about the macports-changes
mailing list