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

jeremyhu at macports.org jeremyhu at macports.org
Mon Apr 9 09:37:46 PDT 2012


Revision: 91750
          https://trac.macports.org/changeset/91750
Author:   jeremyhu at macports.org
Date:     2012-04-09 09:37:46 -0700 (Mon, 09 Apr 2012)
Log Message:
-----------
apple-gcc42: Don't build support for an intel target on Tiger/ppc which lacks SDK support for it

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

Modified: trunk/dports/lang/apple-gcc42/Portfile
===================================================================
--- trunk/dports/lang/apple-gcc42/Portfile	2012-04-09 16:35:34 UTC (rev 91749)
+++ trunk/dports/lang/apple-gcc42/Portfile	2012-04-09 16:37:46 UTC (rev 91750)
@@ -166,8 +166,12 @@
 	RC_OS="macos" \
 	RC_ARCHS="[get_canonical_archs]"
 
-set build_targets {i386}
+set build_targets {}
 
+if {${os.major} > 8 || ${os.arch} == "i386"} {
+    lappend build_targets i386
+}
+
 # Support for PPC was dropped in Darwin 11 (Mac OS X 10.7)
 if {${os.major} < 11} {
     if {[file exists ${developer_dir}/SDKs/MacOSX10.3.9.sdk] ||
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120409/4c73384a/attachment.html>


More information about the macports-changes mailing list