diff options
-rw-r--r-- | www/horde-base/Makefile | 8 | ||||
-rw-r--r-- | www/horde/Makefile | 8 | ||||
-rw-r--r-- | www/horde4-base/Makefile | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/www/horde-base/Makefile b/www/horde-base/Makefile index f3ca3a8c2046..67d862090756 100644 --- a/www/horde-base/Makefile +++ b/www/horde-base/Makefile @@ -312,10 +312,10 @@ pre-configure: pre-install: .if !defined(WITHOUT_SUPPORTED_DB) && exists(${LOCALBASE}/bin/php) - @if ! php -m | ${GREP} -q -e "mysql" ; then \ - if ! php -m | ${GREP} -q -e "pgsql" ; then \ - if ! php -m | ${GREP} -q -e "sybase" ; then \ - if ! php -m | ${GREP} -q -e "SQLite" ; then \ + @if ! php -m 2>&1 | ${GREP} -q -e "mysql" ; then \ + if ! php -m 2>&1 | ${GREP} -q -e "pgsql" ; then \ + if ! php -m 2>&1 | ${GREP} -q -e "sybase" ; then \ + if ! php -m 2>&1 | ${GREP} -q -e "SQLite" ; then \ ${ECHO_MSG} "" ; \ ${ECHO_MSG} "Please configure PHP with a database support." ; \ ${ECHO_MSG} "MySQL, PostgreSQL, SQLite and Sybase (CTLIB or DBLIB)" ; \ diff --git a/www/horde/Makefile b/www/horde/Makefile index f3ca3a8c2046..67d862090756 100644 --- a/www/horde/Makefile +++ b/www/horde/Makefile @@ -312,10 +312,10 @@ pre-configure: pre-install: .if !defined(WITHOUT_SUPPORTED_DB) && exists(${LOCALBASE}/bin/php) - @if ! php -m | ${GREP} -q -e "mysql" ; then \ - if ! php -m | ${GREP} -q -e "pgsql" ; then \ - if ! php -m | ${GREP} -q -e "sybase" ; then \ - if ! php -m | ${GREP} -q -e "SQLite" ; then \ + @if ! php -m 2>&1 | ${GREP} -q -e "mysql" ; then \ + if ! php -m 2>&1 | ${GREP} -q -e "pgsql" ; then \ + if ! php -m 2>&1 | ${GREP} -q -e "sybase" ; then \ + if ! php -m 2>&1 | ${GREP} -q -e "SQLite" ; then \ ${ECHO_MSG} "" ; \ ${ECHO_MSG} "Please configure PHP with a database support." ; \ ${ECHO_MSG} "MySQL, PostgreSQL, SQLite and Sybase (CTLIB or DBLIB)" ; \ diff --git a/www/horde4-base/Makefile b/www/horde4-base/Makefile index f3ca3a8c2046..67d862090756 100644 --- a/www/horde4-base/Makefile +++ b/www/horde4-base/Makefile @@ -312,10 +312,10 @@ pre-configure: pre-install: .if !defined(WITHOUT_SUPPORTED_DB) && exists(${LOCALBASE}/bin/php) - @if ! php -m | ${GREP} -q -e "mysql" ; then \ - if ! php -m | ${GREP} -q -e "pgsql" ; then \ - if ! php -m | ${GREP} -q -e "sybase" ; then \ - if ! php -m | ${GREP} -q -e "SQLite" ; then \ + @if ! php -m 2>&1 | ${GREP} -q -e "mysql" ; then \ + if ! php -m 2>&1 | ${GREP} -q -e "pgsql" ; then \ + if ! php -m 2>&1 | ${GREP} -q -e "sybase" ; then \ + if ! php -m 2>&1 | ${GREP} -q -e "SQLite" ; then \ ${ECHO_MSG} "" ; \ ${ECHO_MSG} "Please configure PHP with a database support." ; \ ${ECHO_MSG} "MySQL, PostgreSQL, SQLite and Sybase (CTLIB or DBLIB)" ; \ |