Ticket #15921: patch-Portfile.diff

File patch-Portfile.diff, 1.5 KB (added by CaptSolo, 16 years ago)

Update from 1.0.6.1 to 1.0.8.1 + Added a fix to a problem with linker picking the system python instead of MacPorts one..

  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name                redland-bindings
    6 version             1.0.6.1
     6version             1.0.8.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). \
     
    1516homepage            http://librdf.org/bindings/
    1617master_sites        http://download.librdf.org/source/
    1718
    18 checksums           md5 eb527252d46d5e2d16d4f4d2abf6980d \
    19                     sha1 70df1706a8c96ee79103bdd0425acdd3b45d3e1d
    20 
     19checksums           md5 52ff9e9f7fb38e3514862d6077e59332 \
     20                    sha1 f19325ee9753de1e6a551e618784267c98e33fe3
     21 
    2122depends_lib         port:redland
    2223
    2324configure.args      --mandir=${prefix}/share/man
     
    3233        depends_lib-append port:php5
    3334}
    3435
    35 variant python {
    36         configure.args-append --with-python
    37         depends_lib-append port:python23
     36variant python24 {
     37        configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/Python"
     38        depends_lib-append port:python24
     39}
     40
     41variant python25 {
     42        configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/Python"
     43        depends_lib-append port:python25
    3844}
    3945
    4046variant ruby {