Changeset 13051 for trunk/dports/gnome


Ignore:
Timestamp:
Jul 11, 2005, 1:46:15 PM (14 years ago)
Author:
mww
Message:

Bug: #3907
Submitted by: vargol@…
Fixored by: mww@
Reviewed by: mww@

update to 1.2.2, fix problems with db4-3, use postgresql 8 (for postgresql variant)

Location:
trunk/dports/gnome/libgda
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/libgda/Portfile

    r12377 r13051  
    1 # $Id: Portfile,v 1.10 2005/05/24 19:28:35 olegb Exp $
     1# $Id: Portfile,v 1.11 2005/07/11 13:46:14 mww Exp $
    22
    33PortSystem 1.0
    44name            libgda
    5 version         1.2.1
     5version         1.2.2
    66description     GDA provides uniform access to diffent kinds of data sources.
    77long_description        GNU Data Access (GDA) is an attempt to provide \
     
    1313homepage        http://www.gnome-db.org/
    1414master_sites    gnome:sources/libgda/1.2/
    15 checksums       md5 513a3b7adb66fa5641bae5394f60c017
     15checksums       md5 19d5ec3fe7f482fe89bcf6926cfac67e
    1616use_bzip2       yes
     17patchfiles      patch-providers-bdb-gda-bdb-recordset.c
    1718depends_lib     port:libxslt lib:libglib-2:glib2 port:p5-xml-parser \
    1819                lib:libdb-4:db4 lib:libmysqlclient:mysql
    19 configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include -I${prefix}/include/db4" \
     20configure.env   CPPFLAGS="-I${prefix}/include -I${prefix}/include/db4" \
    2021                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"  \
    21                 LDFLAGS="-L${prefix}/lib"
     22                LDFLAGS="-L${prefix}/lib"
    2223configure.args  --mandir=${prefix}/share/man
    2324
    2425post-configure {
     26        cd ${worksrcpath}
    2527        reinplace "s|-ldb|-ldb-4|g" \
    26                 ${worksrcpath}/Makefile ${worksrcpath}/data/Makefile \
    27                 ${worksrcpath}/doc/C/Makefile ${worksrcpath}/doc/Makefile \
    28                 ${worksrcpath}/libgda/Makefile ${worksrcpath}/libsql/Makefile \
    29                 ${worksrcpath}/providers/Makefile \
    30                 ${worksrcpath}/providers/bdb/Makefile \
    31                 ${worksrcpath}/providers/firebird/Makefile \
    32                 ${worksrcpath}/providers/freetds/Makefile \
    33                 ${worksrcpath}/providers/ibmdb2/Makefile \
    34                 ${worksrcpath}/providers/ldap/Makefile \
    35                 ${worksrcpath}/providers/mdb/Makefile \
    36                 ${worksrcpath}/providers/mdb/Makefile \
    37                 ${worksrcpath}/providers/msql/Makefile \
    38                 ${worksrcpath}/providers/mysql/Makefile \
    39                 ${worksrcpath}/providers/odbc/Makefile \
    40                 ${worksrcpath}/providers/oracle/Makefile \
    41                 ${worksrcpath}/providers/postgres/Makefile \
    42                 ${worksrcpath}/providers/sqlite/Makefile \
    43                 ${worksrcpath}/providers/xbase/Makefile \
    44                 ${worksrcpath}/providers/sybase/Makefile \
    45                 ${worksrcpath}/providers/xml/Makefile \
    46                 ${worksrcpath}/report/Makefile \
    47                 ${worksrcpath}/report/libgda-report/Makefile \
    48                 ${worksrcpath}/report/testing/Makefile \
    49                 ${worksrcpath}/testing/Makefile \
    50                 ${worksrcpath}/tools/Makefile
     28                Makefile data/Makefile \
     29                doc/C/Makefile doc/Makefile \
     30                libgda/Makefile libsql/Makefile \
     31                providers/Makefile \
     32                providers/bdb/Makefile \
     33                providers/firebird/Makefile \
     34                providers/freetds/Makefile \
     35                providers/ibmdb2/Makefile \
     36                providers/ldap/Makefile \
     37                providers/mdb/Makefile \
     38                providers/mdb/Makefile \
     39                providers/msql/Makefile \
     40                providers/mysql/Makefile \
     41                providers/odbc/Makefile \
     42                providers/oracle/Makefile \
     43                providers/postgres/Makefile \
     44                providers/sqlite/Makefile \
     45                providers/xbase/Makefile \
     46                providers/sybase/Makefile \
     47                providers/xml/Makefile \
     48                report/Makefile \
     49                report/libgda-report/Makefile \
     50                report/testing/Makefile \
     51                testing/Makefile \
     52                tools/Makefile
    5153}
    5254
     
    5759
    5860variant postgresql {
    59         depends_lib-append      lib:libpq:postgresql
     61        configure.env   CPPFLAGS="-I${prefix}/include -I${prefix}/include/db4 -I${prefix}/include/pgsql8" \
     62                LDFLAGS="-L${prefix}/lib -L${prefix}/lib/pgsql8"
     63        depends_lib-append      port:postgresql8
    6064        configure.args-append   --with-postgres=${prefix}
    6165}
Note: See TracChangeset for help on using the changeset viewer.