From: Michael Orlitzky Date: Mon, 12 Jan 2015 19:40:16 +0000 (-0500) Subject: Remove redundant "if use odbc" check. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mjo-overlay.git;a=commitdiff_plain;h=a7c76483853462a46896bd5feb979022972756d1 Remove redundant "if use odbc" check. --- diff --git a/dev-lang/php/php-5.6.4-r1.ebuild b/dev-lang/php/php-5.6.4-r1.ebuild index c883738..6bff755 100644 --- a/dev-lang/php/php-5.6.4-r1.ebuild +++ b/dev-lang/php/php-5.6.4-r1.ebuild @@ -363,6 +363,7 @@ src_configure() { $(use_with mhash mhash "${EPREFIX}"/usr) $(use_with mssql mssql "${EPREFIX}"/usr) $(use_with nls gettext "${EPREFIX}"/usr) + $(use_with odbc unixODBC "${EPREFIX}"/usr) $(use_enable opcache opcache ) $(use_enable pcntl pcntl ) $(use_enable pdo pdo ) @@ -465,12 +466,6 @@ src_configure() { my_conf+="${mysqlsock}" fi - # ODBC support - if use odbc ; then - my_conf+=" - $(use_with odbc unixODBC ${EPREFIX}/usr)" - fi - if use iodbc ; then my_conf+=" $(use_with iodbc iodbc ${EPREFIX}/usr)"