[123882] trunk/dports/lang/apple-gcc42/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Aug 15 11:12:06 PDT 2014


Revision: 123882
          https://trac.macports.org/changeset/123882
Author:   ryandesign at macports.org
Date:     2014-08-15 11:12:06 -0700 (Fri, 15 Aug 2014)
Log Message:
-----------
apple-gcc42: fix comment about why bootstrap variant is necessary, and add note to variant advising users to immediately rebuild without that variant

Modified Paths:
--------------
    trunk/dports/lang/apple-gcc42/Portfile

Modified: trunk/dports/lang/apple-gcc42/Portfile
===================================================================
--- trunk/dports/lang/apple-gcc42/Portfile	2014-08-15 17:08:23 UTC (rev 123881)
+++ trunk/dports/lang/apple-gcc42/Portfile	2014-08-15 18:12:06 UTC (rev 123882)
@@ -223,13 +223,23 @@
     RC_ProjectSourceVersion="[lindex [split ${version} .] 0]" \
     RC_ProjectSourceSubversion="[lindex [split ${version} .] 1]"
 
-# On Tiger, we need apple-gcc42 to build llvm, which is needed for cctools
+# On Tiger, we need apple-gcc42 to build ld64, which is needed for cctools
 variant bootstrap description {Variant to break a dependency cycle on Tiger by first building an apple-gcc42 using host ld and cctools} {
-    pre-fetch {
-        if {([file exists ${prefix}/bin/ld] && [file exists ${prefix}/bin/as]) || ${os.major} > 8} {
+    if {([file exists ${prefix}/bin/ld] && [file exists ${prefix}/bin/as]) || ${os.major} > 8} {
+        pre-fetch {
             ui_error "Please install this port without the bootstrap variant."
             error "Please install this port without the bootstrap variant."
         }
+    } else {
+        notes-append "
+Now please reinstall ${name} without the bootstrap variant by running:
+
+sudo port install ${name}
+
+This will ensure that ${name} uses MacPorts versions of cctools and ld64\
+which are newer than the ones included with Xcode and will work better\
+and prevent some ports from failing to build.
+"
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140815/ae24893e/attachment.html>


More information about the macports-changes mailing list