Revision: 87302 http://trac.macports.org/changeset/87302 Author: devans@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} {