[42787] trunk/dports/x11/xrender/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Nov 30 15:46:48 PST 2008


Revision: 42787
          http://trac.macports.org/changeset/42787
Author:   jeremyhu at macports.org
Date:     2008-11-30 15:46:48 -0800 (Sun, 30 Nov 2008)
Log Message:
-----------
xrender: Fix libXrender to build on Panther and Tiger - bug #17429

Modified Paths:
--------------
    trunk/dports/x11/xrender/Portfile

Modified: trunk/dports/x11/xrender/Portfile
===================================================================
--- trunk/dports/x11/xrender/Portfile	2008-11-30 23:44:40 UTC (rev 42786)
+++ trunk/dports/x11/xrender/Portfile	2008-11-30 23:46:48 UTC (rev 42787)
@@ -23,11 +23,31 @@
                     sha1    8e0726d495db177e3089be9e1d5c41395277b0db \
                     rmd160  0d9249ffe7f8347946f1c4d701bd06d52a4ab40b
 
-depends_lib			lib:libX11:XFree86 \
+depends_build			port:pkgconfig
+depends_lib			lib:libX11:xorg-libX11 \
 				port:xorg-renderproto
 
-depends_build			port:pkgconfig
+# Panther and Tiger actually require the newer libX11 to build, so
+# force them to pull it in.  We should revert this to ALWAYS force
+# this to pull in port:xorg-libX11 once we convert other ports to use
+# lib:libXrender:xrender instrad of port:xrender
 
+# http://trac.macports.org/ticket/17429
+
+platform darwin 7 {
+    depends_lib-delete		lib:libX11:xorg-libX11
+    depends_lib-add		port:xorg-libX11
+}
+
+platform darwin 8 {
+    depends_lib-delete		lib:libX11:xorg-libX11
+    depends_lib-add		port:xorg-libX11
+}
+
+configure.args \
+    --x-includes=${x11prefix}/include \
+    --x-libraries=${x11prefix}/lib \
+
 use_parallel_build  yes
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081130/4067523c/attachment.html>


More information about the macports-changes mailing list