aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php4/scripts/configure.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php4/scripts/configure.php')
-rw-r--r--www/mod_php4/scripts/configure.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index 2230696ea58d..6729ade0210e 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -166,6 +166,7 @@ while [ "$1" ]; do
\"MySQL\")
echo "LIB_DEPENDS+= mysqlclient.10:\${PORTSDIR}/databases/mysql323-client"
echo "CONFIGURE_ARGS+=--with-mysql=\${LOCALBASE}"
+ MYSQL=1
;;
\"PostgreSQL\")
echo "POSTGRESQL_PORT?= databases/postgresql7"
@@ -363,3 +364,7 @@ done
if [ "${LIBS}" ]; then
echo "CONFIGURE_ENV+= LIBS='${LIBS}'"
fi
+
+if [ -z "${MYSQL}" ]; then
+ echo "WITHOUT_MYSQL= 1"
+fi