[91607] trunk/dports/x11/quartz-wm/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Apr 6 16:34:24 PDT 2012


Revision: 91607
          https://trac.macports.org/changeset/91607
Author:   jeremyhu at macports.org
Date:     2012-04-06 16:34:22 -0700 (Fri, 06 Apr 2012)
Log Message:
-----------
quartz-wm: Fix linking on Tiger.  We still have the install_name_tool issue, but this is a step

Modified Paths:
--------------
    trunk/dports/x11/quartz-wm/Portfile

Modified: trunk/dports/x11/quartz-wm/Portfile
===================================================================
--- trunk/dports/x11/quartz-wm/Portfile	2012-04-06 21:58:21 UTC (rev 91606)
+++ trunk/dports/x11/quartz-wm/Portfile	2012-04-06 23:34:22 UTC (rev 91607)
@@ -38,6 +38,15 @@
 if {${os.major} < 10} {
     depends_build port:cctools
     depends_skip_archcheck-append cctools
+
+    if {${os.major} < 9} {
+        # Tiger's host ld is ancient (cctools based) and won't properly link this project
+        # Use apple-gcc42 with our ld64 to get it to link
+        depends_build port:apple-gcc42 port:ld64
+        depends_skip_archcheck-append apple-gcc42 ld64
+
+        configure.compiler apple-gcc-4.2
+    }
 }
 
 configure.args --with-bundle-id-prefix=org.macports
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120406/5ec6b625/attachment.html>


More information about the macports-changes mailing list