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.
54 lines
2.0 KiB
54 lines
2.0 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../libdbi-drivers/libdbi-drivers.conf |
|
# Copyright (C) 2006 - 2008 The OpenSDE Project |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# This program is free software; you can redistribute it and/or modify |
|
# it under the terms of the GNU General Public License as published by |
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
# GNU General Public License can be found in the file COPYING. |
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
# libdbi |
|
pkgprefix -t libdbi |
|
var_append extraconfopt ' ' "--with-dbi-incdir=$root$( pkgprefix includedir libdbi )" |
|
|
|
# mysql |
|
if pkginstalled mysql; then |
|
pkgprefix -t mysql |
|
var_append extraconfopt ' ' "--with-mysql" |
|
var_append extraconfopt ' ' "--with-mysql-incdir=$root$( pkgprefix includedir mysql )" |
|
var_append extraconfopt ' ' "--with-mysql-libdir=$root$( pkgprefix libdir mysql )" |
|
fi |
|
|
|
# postgresql |
|
if pkginstalled postgresql; then |
|
pkgprefix -t postgresql |
|
var_append extraconfopt ' ' "--with-pgsql" |
|
var_append extraconfopt ' ' "--with-pgsql-incdir=$root$( pkgprefix includedir postgresql )" |
|
var_append extraconfopt ' ' "--with-pgsql-libdir=$root$( pkgprefix libdir postgresql )" |
|
fi |
|
|
|
# sqlite2 |
|
if pkginstalled sqlite2; then |
|
pkgprefix -t sqlite2 |
|
var_append extraconfopt ' ' "--with-sqlite" |
|
var_append extraconfopt ' ' "--with-sqlite-incdir=$root$( pkgprefix includedir sqlite2 )" |
|
var_append extraconfopt ' ' "--with-sqlite-libdir=$root$( pkgprefix libdir sqlite2 )" |
|
fi |
|
|
|
# sqlite3 |
|
if pkginstalled sqlite; then |
|
pkgprefix -t sqlite |
|
var_append extraconfopt ' ' "--with-sqlite3" |
|
var_append extraconfopt ' ' "--with-sqlite3-incdir=$root$( pkgprefix includedir sqlite )" |
|
var_append extraconfopt ' ' "--with-sqlite3-libdir=$root$( pkgprefix libdir sqlite )" |
|
fi |
|
|
|
# disable to build docs if openjade is not available |
|
if ! pkginstalled openjade; then |
|
var_append extraconfopt ' ' "--disable-docs" |
|
fi
|
|
|