1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Fix install: 'php -m' was changed to send output to stderr, which broke

our pre-install check.

PR:		ports/102033
Submitted by:	Chris Wasser <flatline@majestik12.ca>
This commit is contained in:
Shaun Amott 2006-08-15 01:09:21 +00:00
parent c54010f434
commit 1a5ed1100b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170653
3 changed files with 12 additions and 12 deletions

View File

@ -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)" ; \

View File

@ -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)" ; \

View File

@ -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)" ; \