New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80029


Ignore:
Timestamp:
07/02/11 22:06:26 (4 years ago)
Author:
ryandesign@…
Message:

ola: allow the user to select which python to use; see #30003

File:
1 edited

Legend:

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

    r79911 r80029  
    66name                ola 
    77version             0.8.11 
     8revision            1 
    89categories          net comms 
    910platforms           darwin 
     
    3435                    --disable-libusb 
    3536 
    36 variant python description {Enable the Python API} { 
    37     configure.args-append   --enable-python-libs 
     37variant python26 conflicts python27 description {Enable the Python 2.6 API} { 
     38    depends_lib-append      port:protobuf-python26 
     39    configure.args-append   PYTHON=python2.6 --enable-python-libs 
     40} 
     41 
     42variant python27 conflicts python26 description {Enable the Python 2.7 API} { 
     43    depends_lib-append      port:protobuf-python27 
     44    configure.args-append   PYTHON=python2.7 --enable-python-libs 
    3845} 
    3946 
     
    4855} 
    4956 
    50 default_variants    +http +python +libusb 
     57default_variants    +http +libusb 
     58 
     59if {![variant_isset python26]} { 
     60    default_variants        +python27 
     61} 
    5162 
    5263test.run            yes 
Note: See TracChangeset for help on using the changeset viewer.