diff options
author | andreas <andreas@FreeBSD.org> | 1998-02-22 23:06:17 +0000 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1998-02-22 23:06:17 +0000 |
commit | 09b7d877cef951ca82e47d6d7e76627c6f272c1a (patch) | |
tree | 43d391281fdf2b61126c14aab15ca206a4a607b9 /www/mod_php5 | |
parent | a32c291716e2b80a464e54c1faf10e76a6981512 (diff) | |
download | FreeBSD-ports-09b7d877cef951ca82e47d6d7e76627c6f272c1a.zip FreeBSD-ports-09b7d877cef951ca82e47d6d7e76627c6f272c1a.tar.gz |
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)
Diffstat (limited to 'www/mod_php5')
-rw-r--r-- | www/mod_php5/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile index 25f96fe..f174f6d 100644 --- a/www/mod_php5/Makefile +++ b/www/mod_php5/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} |