Ticket #16167: Portfile-sphinx.diff

File Portfile-sphinx.diff, 1.2 KB (added by steve@…, 16 years ago)

Patchfile

  • Portfile

    old new  
    2020distfiles               sphinx-${version}.tar.gz
    2121checksums               sha1 0f82e56a9181b3aeaeef65e9ba82fbf6fbe632d6
    2222
     23depends_lib-append      port:mysql5
    2324configure.args  --mandir=${prefix}/share/man \
    2425                --datadir=${prefix}/share/doc \
    2526                --with-mysql-includes=${prefix}/include/mysql5/mysql \
     
    2728
    2829test.run         yes
    2930
    30 variant postgres description {Enable PostgeSQL support} {
     31variant postgres description {Enable PostgreSQL support for old PgSQL 8.2} {
    3132    depends_lib-append      port:postgresql82
    3233    configure.args-append   --with-pgsql
    3334    configure.args-append   --with-pgsql-includes=${prefix}/include/postgresql82
    3435    configure.args-append   --with-pgsql-libs=${prefix}/lib/postgresql82
    3536}
     37
     38variant postgresql83 description {Enable PostgreSQL support for newer PgSQL v8.3} {
     39    depends_lib-append      port:postgresql83
     40    configure.args-append   --with-pgsql
     41    configure.args-append   --with-pgsql-includes=${prefix}/include/postgresql83
     42    configure.args-append   --with-pgsql-libs=${prefix}/lib/postgresql83
     43    configure.args-delete   --with-mysql-includes
     44}