* yet more dir-less .cache DEP updates
[t2sde.git] / package / gnome / libgda / libgda.conf
blob3f6b0519ea75dc48fd3fe1d0e5180a5f8588c7a1
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/libgda/libgda.conf
3 # Copyright (C) 2004 - 2023 The T2 SDE Project
4 # Copyright (C) 1998 - 2004 ROCK Linux Project
5
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
8
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
13 if pkginstalled openldap; then
14         pkgprefix -t openldap
15         var_append extraconfopt " " "--with-ldap=/$(pkgprefix openldap)"
16         if [ $arch_machine = "x86_64" ]; then
17                 var_append GCC_WRAPPER_REMOVE ' ' "-L/opt/openldap/lib"
18     var_append GCC_WRAPPER_APPEND ' ' "-L$(pkgprefix libdir openldap)"
19   fi
21 if pkginstalled mysql; then
22         pkgprefix -t mysql
23         var_append extraconfopt " " "--with-mysql=/$(pkgprefix mysql)"
24 else
25         var_append extraconfopt " " "--without-mysql"
27 if pkginstalled postgresql; then
28         pkgprefix -t postgresql
29         var_append extraconfopt " " "--with-postgres=/$(pkgprefix postgresql)"
30         if [ $arch_machine = "x86_64" ]; then
31                 var_append GCC_WRAPPER_REMOVE ' ' "-L/opt/postgresql/lib"
32     var_append GCC_WRAPPER_APPEND ' ' "-L$(pkgprefix libdir postgresql)"
33   fi