Ticket #39118: Portfile-redland-bindings.diff

File Portfile-redland-bindings.diff, 2.7 KB (added by danmichaelo+macports@…, 11 years ago)
  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name                redland-bindings
    6 version             1.0.13.1
     6version             1.0.16.1
    77description         Redland RDF Language Bindings
    88long_description    Redland is a set of free software libraries that provide \
    99                    support for the Resource Description Framework (RDF). \
     
    1515homepage            http://librdf.org/bindings/
    1616master_sites        http://download.librdf.org/source/
    1717
    18 checksums           sha1    a3dee2bcd5961917a951544654e147b49bf17434 \
    19                     rmd160  e07edd593c6e16d399b384268f99231b3c89026a
     18checksums           sha1    98c20b64cf5e99cbf29fcb84490e73e2a828213a \
     19                    rmd160  0f4ac6f67fd2ddfa842dc82c52e5c380d9fc95d3
    2020 
    2121depends_lib         port:redland
    2222
    2323pre-configure {
    24     if {![variant_isset perl5] && ![variant_isset php5] && ![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26] && ![variant_isset ruby] && ![variant_isset tcl] && ![variant_isset lua]} {
     24    if {![variant_isset perl5] && ![variant_isset php5] && ![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27] && ![variant_isset ruby] && ![variant_isset tcl] && ![variant_isset lua]} {
    2525        ui_error "You must select at least one variant."
    2626        return -code error "no variant selected"
    2727    }
     
    4747        depends_lib-append path:bin/php:php5
    4848}
    4949
    50 variant python24 conflicts python25 python26 {
     50variant python24 conflicts python25 python26 python27 {
    5151        configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/Python"
    5252        depends_lib-append port:python24
    5353}
    5454
    55 variant python25 conflicts python24 python26 {
     55variant python25 conflicts python24 python26 python27 {
    5656        configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/Python"
    5757        depends_lib-append port:python25
    5858}
    5959
    60 variant python26 conflicts python24 python25 {
     60variant python26 conflicts python24 python25 python27 {
    6161        configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/Python"
    6262        depends_lib-append port:python26
    6363}
    6464
     65variant python27 conflicts python24 python25 python26 {
     66        configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/Python"
     67        depends_lib-append port:python27
     68}
     69
    6570variant ruby {
    6671        configure.args-append --with-ruby
    6772        depends_lib-append port:ruby