Ticket #46390: redland-bindings.python.patch

File redland-bindings.python.patch, 1.8 KB (added by larryv (Lawrence Velázquez), 10 years ago)
  • dports/www/redland-bindings/Portfile

    diff --git a/dports/www/redland-bindings/Portfile b/dports/www/redland-bindings/Portfile
    index c7c4088..12b2964 100644
    a b PortSystem 1.0 
    44
    55name                redland-bindings
    66version             1.0.16.1
     7revision            1
    78description         Redland RDF Language Bindings
    89long_description    Redland is a set of free software libraries that provide \
    910                    support for the Resource Description Framework (RDF). \
    variant php5 { 
    4748        depends_lib-append path:bin/php:php5
    4849}
    4950
    50 variant python24 conflicts python25 python26 python27 {
    51         configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/Python"
    52         depends_lib-append port:python24
    53 }
    54 
    55 variant python25 conflicts python24 python26 python27 {
    56         configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/Python"
    57         depends_lib-append port:python25
    58 }
     51# TODO: Remove after 2016-01-04.
     52variant python24 requires python27 description {Legacy variant} {}
     53variant python25 requires python27 description {Legacy variant} {}
    5954
    60 variant python26 conflicts python24 python25 python27 {
     55variant python26 conflicts python27 {
    6156        configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/Python"
    6257        depends_lib-append port:python26
    6358}
    6459
    65 variant python27 conflicts python24 python25 python26 {
     60variant python27 conflicts python26 {
    6661        configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/Python"
    6762        depends_lib-append port:python27
    6863}