summaryrefslogtreecommitdiff
path: root/www/mod_php4/Makefile
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1998-02-22 23:06:17 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1998-02-22 23:06:17 +0000
commit7ac76a9e2df9fa49367cef68683fd9ed893d2c47 (patch)
treeac6657268e8b9d34926e8f798034a237ffd94433 /www/mod_php4/Makefile
parentRemove brokenness from this port ;-) Thanks to Dirk Froemberg. (diff)
If BATCH is defined, then build apache-php with mysql support.
Reasons: - mysql is free software and very popular. - msql is only free for private use - msql isn't as fast and reliable (from hearsay)
Notes
Notes: svn path=/head/; revision=9889
Diffstat (limited to 'www/mod_php4/Makefile')
-rw-r--r--www/mod_php4/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index 25f96fef3ec5..f174f6dade6b 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/Makefile
@@ -21,7 +21,13 @@ NO_PACKAGE= "Too many questions"
#
# Currently we support two db's: msql and mysql
+# When running in batch mode default to mysql support, because it's
+# a free and very popular database !
#
+.if defined(BATCH)
+PHP_DBTYPE=mysql
+.endif
+
.if !defined(PHP_DBTYPE)
pre-fetch:
@ ${ECHO}