Changeset 148025


Ignore:
Timestamp:
Apr 25, 2016, 2:30:23 AM (19 months ago)
Author:
mcalhoun@…
Message:

glade3: allow glade3 to run if gtk2 was installed with quartz variant

Location:
trunk/dports/devel/glade3
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/glade3/Portfile

    r144103 r148025  
    33
    44PortSystem          1.0
     5PortGroup           active_variants 1.1
    56
    67name                glade3
     
    6061}
    6162
    62 variant gnome description {Enable support for GNOME2 UI widgets} {
     63# currenlty, libbonoboui is broken if gtk2 was installed with +quartz (#48986)
     64variant gnome conflicts quartz description {Enable support for GNOME2 UI widgets} {
    6365    configure.args-replace    --disable-gnome  --enable-gnome
    6466    depends_lib-append        port:libbonoboui \
     
    6668}
    6769
    68 #
    69 # ige-mac-integration is broken
    70 #
    71 # disable quartz variant until this is resolved
    72 #
     70variant quartz conflicts gnome {
     71    # configure script automatically detects if gtk2 was installed with quartz variant
     72    require_active_variants gtk2 quartz
    7373
    74 #variant quartz {
    75 #         depends_lib-append port:ige-mac-integration
    76 #         depends_run-delete port:devhelp
    77 #}
     74    depends_lib-append port:gtk-osx-application-gtk2
    7875
    79 default_variants +python27 +gnome
     76    patchfiles-append \
     77        patch-quartz.diff
     78}
     79
     80if {![variant_isset quartz]} {
     81    require_active_variants gtk2 x11
     82}
     83
     84default_variants +python27
     85if {![variant_isset quartz]} {
     86    default_variants-append +gnome
     87}
    8088
    8189post-activate {
Note: See TracChangeset for help on using the changeset viewer.