[103213] trunk/dports/devel/bootstrap_cmds

jeremyhu at macports.org jeremyhu at macports.org
Mon Feb 18 17:04:01 PST 2013


Revision: 103213
          https://trac.macports.org/changeset/103213
Author:   jeremyhu at macports.org
Date:     2013-02-18 17:04:01 -0800 (Mon, 18 Feb 2013)
Log Message:
-----------
bootstrap_cmds: Fall back on /usr/bin/cc rather than /opt/local/bin/cc, see #36055

Modified Paths:
--------------
    trunk/dports/devel/bootstrap_cmds/Portfile

Added Paths:
-----------
    trunk/dports/devel/bootstrap_cmds/files/
    trunk/dports/devel/bootstrap_cmds/files/cc_fallback.patch

Modified: trunk/dports/devel/bootstrap_cmds/Portfile
===================================================================
--- trunk/dports/devel/bootstrap_cmds/Portfile	2013-02-19 00:53:20 UTC (rev 103212)
+++ trunk/dports/devel/bootstrap_cmds/Portfile	2013-02-19 01:04:01 UTC (rev 103213)
@@ -6,7 +6,7 @@
 
 name                    bootstrap_cmds
 version                 85
-revision                1
+revision                2
 categories              devel
 maintainers             mfeiri openmaintainer
 homepage                http://opensource.apple.com/source/${name}/
@@ -30,6 +30,8 @@
     }
 }
 
+patchfiles cc_fallback.patch
+
 post-destroot {
     file rename ${destroot}${prefix}/bin/migcom ${destroot}${prefix}/libexec/migcom
 }

Added: trunk/dports/devel/bootstrap_cmds/files/cc_fallback.patch
===================================================================
--- trunk/dports/devel/bootstrap_cmds/files/cc_fallback.patch	                        (rev 0)
+++ trunk/dports/devel/bootstrap_cmds/files/cc_fallback.patch	2013-02-19 01:04:01 UTC (rev 103213)
@@ -0,0 +1,11 @@
+--- migcom.tproj/mig.sh.orig	2013-02-18 16:59:03.000000000 -0800
++++ migcom.tproj/mig.sh	2013-02-18 16:59:25.000000000 -0800
+@@ -76,7 +76,7 @@ if [ -z "${MIGCC}" ]; then
+   if [ -x "${xcrunPath}" ]; then
+     MIGCC=`"${xcrunPath}" -sdk "$sdkRoot" -find cc`
+   else
+-    MIGCC=$(realpath "${scriptRoot}/cc")
++    MIGCC="/usr/bin/cc"
+   fi
+ fi
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130218/803f74ec/attachment.html>


More information about the macports-changes mailing list