OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libdbi-drivers/libdbi-drivers.conf
  5. # Copyright (C) 2006 The OpenSDE Project
  6. #
  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 as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. # libdbi
  15. pkgprefix -t libdbi
  16. var_append extraconfopt ' ' "--with-dbi-incdir=$root$( pkgprefix includedir libdbi )"
  17. # mysql
  18. if pkginstalled mysql; then
  19. pkgprefix -t mysql
  20. var_append extraconfopt ' ' "--with-mysql"
  21. var_append extraconfopt ' ' "--with-mysql-incdir=$root$( pkgprefix includedir mysql )"
  22. var_append extraconfopt ' ' "--with-mysql-libdir=$root$( pkgprefix libdir mysql )"
  23. fi
  24. # postgresql
  25. if pkginstalled postgresql; then
  26. pkgprefix -t postgresql
  27. var_append extraconfopt ' ' "--with-pgsql"
  28. var_append extraconfopt ' ' "--with-pgsql-incdir=$root$( pkgprefix includedir postgresql )"
  29. var_append extraconfopt ' ' "--with-pgsql-libdir=$root$( pkgprefix libdir postgresql )"
  30. fi
  31. # sqlite2
  32. if pkginstalled sqlite2; then
  33. pkgprefix -t sqlite2
  34. var_append extraconfopt ' ' "--with-sqlite"
  35. var_append extraconfopt ' ' "--with-sqlite-incdir=$root$( pkgprefix includedir sqlite2 )"
  36. var_append extraconfopt ' ' "--with-sqlite-libdir=$root$( pkgprefix libdir sqlite2 )"
  37. fi
  38. # sqlite3
  39. if pkginstalled sqlite; then
  40. pkgprefix -t sqlite
  41. var_append extraconfopt ' ' "--with-sqlite3"
  42. var_append extraconfopt ' ' "--with-sqlite3-incdir=$root$( pkgprefix includedir sqlite )"
  43. var_append extraconfopt ' ' "--with-sqlite3-libdir=$root$( pkgprefix libdir sqlite )"
  44. fi