Ticket #15147: libgda-patch.diff

File libgda-patch.diff, 1.5 KB (added by sfiera@…, 16 years ago)

Patch updated with bumped revision; better indenting

  • Portfile

     
    44name            libgda
    55version         1.2.4
    66set branch  [join [lrange [split ${version} .] 0 1] .]
    7 revision        3
     7revision        4
    88description     GDA provides uniform access to different kinds of data sources.
    99long_description        GNU Data Access (GDA) is an attempt to provide \
    1010                        uniform access to different kinds of data sources \
     
    2727# magic.
    2828set mysqldir "${workpath}/mysql"
    2929
     30configure.args              --without-bdb \
     31                            --without-mysql \
     32                            --without-postgres \
     33                            --without-sqlite
    3034configure.cppflags-append   -I${prefix}/include/db44 -I${prefix}/include/postgresql82
    3135configure.ldflags-append    -L${prefix}/lib/postgresql82 -L${prefix}/lib/db44
    3236
     
    4246
    4347variant mysql5 {
    4448        depends_lib-append      port:mysql5
     49        configure.args-delete   --without-mysql
    4550        configure.args-append   --with-mysql=${mysqldir}
    4651}
    4752
    4853variant postgresql8 {
    4954        depends_lib-append      port:postgresql80
     55        configure.args-delete   --without-postgres
    5056        configure.args-append   --with-postgres=yes
    5157}
    5258
    5359variant db4 {
    5460        depends_lib-append      port:db44
     61        configure.args-delete   --without-bdb
    5562        configure.args-append   --with-bdb=${prefix}
    5663    build.args-append   BDB_LIBS=-ldb-4
    5764}
    5865
    5966variant sqlite {
    6067        depends_lib-append      port:sqlite3
     68        configure.args-delete   --without-sqlite
    6169        configure.args-append   --with-sqlite=${prefix}
    6270}
    6371