The use_with function doesn't do anything if its USE flag is disabled,
so there's no reason to wrap use_with in "if use...". This use_with
block was also merged with the one for USE=odbc.
Gentoo-Bug: 551526
Package-Manager: portage-2.2.20.1
# ODBC support
my_conf+="
- $(use_with odbc unixODBC ${EPREFIX}/usr)"
-
- if use iodbc ; then
- my_conf+="
- $(use_with iodbc iodbc ${EPREFIX}/usr)"
- fi
+ $(use_with odbc unixODBC ${EPREFIX}/usr)
+ $(use_with iodbc iodbc ${EPREFIX}/usr)"
# Oracle support
if use oci8-instant-client ; then
# ODBC support
my_conf+="
- $(use_with odbc unixODBC ${EPREFIX}/usr)"
-
- if use iodbc ; then
- my_conf+="
- $(use_with iodbc iodbc ${EPREFIX}/usr)"
- fi
+ $(use_with odbc unixODBC ${EPREFIX}/usr)
+ $(use_with iodbc iodbc ${EPREFIX}/usr)"
# Oracle support
if use oci8-instant-client ; then