Changeset 87302


Ignore:
Timestamp:
Nov 16, 2011, 9:44:16 PM (8 years ago)
Author:
devans@…
Message:

gnome-desktop: update +quartz variant to remove X11 dependencies and exit before configure with an error, more quartz and info command friendly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/gnome-desktop/Portfile

    r87275 r87302  
    4646                --x-libraries=${prefix}/lib \
    4747                --disable-scrollkeeper
     48#
     49#  portions of this port are strictly X11 specific
     50#  so a +quartz build is not possible (fails in configure if X11 is absent)
     51#
     52#  handle +quartz by disabling X11 dependencies and exit with an error before configuration
     53#
    4854
    4955variant quartz {
    50         ui_error "${name} depends on the X11 development libraries."
    51         ui_error "+quartz builds of ${name} are not allowed."
    52         return -code error "incompatible with +quartz build."
     56        depends_lib-delete port:startup-notification \
     57                           port:xorg-libXrandr
     58        pre-configure {
     59            ui_error "${name} requires X11 development libraries to configure."
     60            ui_error "+quartz builds of ${name} are not allowed."
     61            return -code error "incompatible with +quartz build."
     62        }
    5363}
    5464
Note: See TracChangeset for help on using the changeset viewer.