New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13667: Portfile.diff

File Portfile.diff, 0.5 KB (added by wsiegrist@…, 4 years ago)

patch to change the dependancy and lib path from pgsql v8.1 to v8.2

  • Portfile

    old new  
    2020distname                psycopg2-${version} 
    2121checksums               md5 052e4b97dab47708fdcdc36ffb25af66 
    2222 
    23 depends_lib-append      port:postgresql81 \ 
     23depends_lib-append      port:postgresql82 \ 
    2424                        port:openssl 
    2525 
    2626patchfiles              patch-setup.cfg 
    2727 
    2828post-patch              { 
    2929        reinplace \ 
    30                 s|@PG_CONFIG@|${prefix}/lib/postgresql81/bin/pg_config|g \ 
     30                s|@PG_CONFIG@|${prefix}/lib/postgresql82/bin/pg_config|g \ 
    3131                ${worksrcpath}/setup.cfg 
    3232}