- local mysqlsock=" $(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
- if use mysql ; then
- my_conf+="${mysqlsock}"
- elif use mysqli ; then
- my_conf+="${mysqlsock}"
- fi
-
- # PDO support
- if use pdo ; then
- my_conf+="
- $(use_with mssql pdo-dblib )
- $(use_with mysql pdo-mysql ${mysqllib})
- $(use_with postgres pdo-pgsql )
- $(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
- $(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
- if use oci8-instant-client ; then
- my_conf+="
- $(use_with oci8-instant-client pdo-oci)"
- fi
- fi