[87302] trunk/dports/gnome/gnome-desktop/Portfile

devans at macports.org devans at macports.org
Wed Nov 16 13:44:19 PST 2011


Revision: 87302
          http://trac.macports.org/changeset/87302
Author:   devans at macports.org
Date:     2011-11-16 13:44:16 -0800 (Wed, 16 Nov 2011)
Log Message:
-----------
gnome-desktop: update +quartz variant to remove X11 dependencies and exit before configure with an error, more quartz and info command friendly.

Modified Paths:
--------------
    trunk/dports/gnome/gnome-desktop/Portfile

Modified: trunk/dports/gnome/gnome-desktop/Portfile
===================================================================
--- trunk/dports/gnome/gnome-desktop/Portfile	2011-11-16 21:02:23 UTC (rev 87301)
+++ trunk/dports/gnome/gnome-desktop/Portfile	2011-11-16 21:44:16 UTC (rev 87302)
@@ -45,11 +45,21 @@
                 --x-includes=${prefix}/include \
                 --x-libraries=${prefix}/lib \
                 --disable-scrollkeeper
+#
+#  portions of this port are strictly X11 specific
+#  so a +quartz build is not possible (fails in configure if X11 is absent)
+#
+#  handle +quartz by disabling X11 dependencies and exit with an error before configuration
+#
 
 variant quartz {
-        ui_error "${name} depends on the X11 development libraries."
-        ui_error "+quartz builds of ${name} are not allowed."
-        return -code error "incompatible with +quartz build."
+        depends_lib-delete port:startup-notification \
+                           port:xorg-libXrandr
+        pre-configure {
+            ui_error "${name} requires X11 development libraries to configure."
+            ui_error "+quartz builds of ${name} are not allowed."
+            return -code error "incompatible with +quartz build."
+        }
 }
 
 variant python25 conflicts python26 python27 description {Use python 2.5} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111116/d7a89455/attachment.html>


More information about the macports-changes mailing list