[91689] trunk/dports/x11/quartz-wm/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Apr 7 23:17:03 PDT 2012
Revision: 91689
https://trac.macports.org/changeset/91689
Author: jeremyhu at macports.org
Date: 2012-04-07 23:17:03 -0700 (Sat, 07 Apr 2012)
Log Message:
-----------
quartz-wm: Build fix for ppc and Tiger (but I haven't actually tested it there yet)
Modified Paths:
--------------
trunk/dports/x11/quartz-wm/Portfile
Modified: trunk/dports/x11/quartz-wm/Portfile
===================================================================
--- trunk/dports/x11/quartz-wm/Portfile 2012-04-08 06:13:23 UTC (rev 91688)
+++ trunk/dports/x11/quartz-wm/Portfile 2012-04-08 06:17:03 UTC (rev 91689)
@@ -35,18 +35,26 @@
autoreconf.args -fvi
# http://trac.macports.org/ticket/33515
-if {${os.major} < 10} {
+if {${os.major} < 9 || ${os.arch} == "ppc"} {
+ # This is sub-optimal, but it will work for now
+ post-patch {
+ reinplace "/install_name_tool/d" ${worksrcpath}/lib/Makefile.am
+ }
+ post-destroot {
+ system "install_name_tool -change /usr/lib/libquartz-wm-ds.1.dylib ${prefix}/lib/libquartz-wm-ds.1.dylib ${destroot}${prefix}/bin/quartz-wm"
+ }
+} elseif {${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
+platform darwin 8 {
+ # 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.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/20120407/89c7729d/attachment.html>
More information about the macports-changes
mailing list