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:
parent
c54010f434
commit
1a5ed1100b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170653
@ -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)" ; \
|
||||
|
@ -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)" ; \
|
||||
|
@ -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)" ; \
|
||||
|
Loading…
Reference in New Issue
Block a user