[36189] trunk/dports/x11/gtk2/Portfile

afb at macports.org afb at macports.org
Mon Apr 21 14:38:35 PDT 2008


Revision: 36189
          http://trac.macosforge.org/projects/macports/changeset/36189
Author:   afb at macports.org
Date:     2008-04-21 14:38:35 -0700 (Mon, 21 Apr 2008)

Log Message:
-----------
issue workaround for broken X11 in 10.5.2 (#14592)

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

Modified: trunk/dports/x11/gtk2/Portfile
===================================================================
--- trunk/dports/x11/gtk2/Portfile	2008-04-21 19:43:10 UTC (rev 36188)
+++ trunk/dports/x11/gtk2/Portfile	2008-04-21 21:38:35 UTC (rev 36189)
@@ -102,6 +102,16 @@
     depends_build-append    port:cups-headers
 }
 
+platform darwin 9 {
+    pre-fetch {
+        if {[variant_isset x11] && ![file exists /usr/X11/lib/libXrandr.2.0.0.dylib]} {
+        ui_error "Some libs are missing from your X11 installation. Please run this command:"
+        ui_msg "sudo ln -s libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib"
+        error "missing /usr/X11/lib/libXrandr.2.0.0.dylib"
+        }
+    }
+}
+
 variant no_x11 description {Same as +quartz} {
     pre-fetch {
         if {[file exists ${prefix}/lib/libpangox-1.0.dylib]} {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080421/d2f3e674/attachment.html


More information about the macports-changes mailing list