New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79737


Ignore:
Timestamp:
06/24/11 10:06:13 (4 years ago)
Author:
jeremyhu@…
Message:

avahi: darwin11 build fix, added +python25 +python26 +python27 variants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/avahi/Portfile

    r77686 r79737  
    4747depends_lib     port:libdaemon \ 
    4848                port:libglade2 \ 
    49                 port:dbus-python26 \ 
    5049                port:expat \ 
    5150                port:gdbm \ 
    52                 port:py26-gtk \ 
    5351                port:gettext 
    5452 
     
    6462                --enable-introspection=no 
    6563 
    66 configure.cppflags-append   -L${prefix}/lib 
    67 configure.python            ${prefix}/bin/python2.6 
     64# __APPLE_USE_RFC_2292 should be removed once avhi is updated to support RFC 3542 
     65configure.cppflags-append   -L${prefix}/lib -D__APPLE_USE_RFC_2292 
     66 
     67variant python25 conflicts python26 python27 description {Use python 2.5} { 
     68    configure.python        ${prefix}/bin/python2.5 
     69 
     70    depends_lib-append      port:dbus-python25 \ 
     71                            port:py25-gtk \ 
     72} 
     73 
     74variant python26 conflicts python25 python27 description {Use python 2.6} { 
     75    configure.python        ${prefix}/bin/python2.6 
     76 
     77    depends_lib-append      port:dbus-python26 \ 
     78                            port:py26-gtk \ 
     79} 
     80 
     81variant python27 conflicts python25 python26 description {Use python 2.7} { 
     82    configure.python        ${prefix}/bin/python2.7 
     83 
     84    depends_lib-append      port:dbus-python27 \ 
     85                            port:py27-gtk \ 
     86} 
     87 
     88if {![variant_isset python25] && ![variant_isset python26]} { 
     89    default_variants +python27 
     90} 
     91 
    6892 
    6993test.run        yes 
     
    114138variant no_gtk description {Build without GTK2} { 
    115139    depends_lib-delete      port:libglade2 \ 
    116                             port:py26-gtk 
     140                            port:py25-gtk \ 
     141                            port:py26-gtk \ 
     142                            port:py27-gtk 
    117143 
    118144    configure.args-append   --disable-gtk \ 
Note: See TracChangeset for help on using the changeset viewer.