Ticket #15147: libgda-patch.diff
File libgda-patch.diff, 1.5 KB (added by sfiera@…, 16 years ago) |
---|
-
Portfile
4 4 name libgda 5 5 version 1.2.4 6 6 set branch [join [lrange [split ${version} .] 0 1] .] 7 revision 37 revision 4 8 8 description GDA provides uniform access to different kinds of data sources. 9 9 long_description GNU Data Access (GDA) is an attempt to provide \ 10 10 uniform access to different kinds of data sources \ … … 27 27 # magic. 28 28 set mysqldir "${workpath}/mysql" 29 29 30 configure.args --without-bdb \ 31 --without-mysql \ 32 --without-postgres \ 33 --without-sqlite 30 34 configure.cppflags-append -I${prefix}/include/db44 -I${prefix}/include/postgresql82 31 35 configure.ldflags-append -L${prefix}/lib/postgresql82 -L${prefix}/lib/db44 32 36 … … 42 46 43 47 variant mysql5 { 44 48 depends_lib-append port:mysql5 49 configure.args-delete --without-mysql 45 50 configure.args-append --with-mysql=${mysqldir} 46 51 } 47 52 48 53 variant postgresql8 { 49 54 depends_lib-append port:postgresql80 55 configure.args-delete --without-postgres 50 56 configure.args-append --with-postgres=yes 51 57 } 52 58 53 59 variant db4 { 54 60 depends_lib-append port:db44 61 configure.args-delete --without-bdb 55 62 configure.args-append --with-bdb=${prefix} 56 63 build.args-append BDB_LIBS=-ldb-4 57 64 } 58 65 59 66 variant sqlite { 60 67 depends_lib-append port:sqlite3 68 configure.args-delete --without-sqlite 61 69 configure.args-append --with-sqlite=${prefix} 62 70 } 63 71