diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2004-06-03 15:49:13 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2004-06-03 15:49:13 +0000 |
commit | f2b221a3576c6098ae48631f1b39a0e2d5acea30 (patch) | |
tree | 481a85eaf7760e528b0c0ae86e440309af9c8bc6 /www/mod_php3/scripts/configure.php | |
parent | Update MASTER_SITES (diff) |
Commit something that I've been sitting on for just about months now:
make the PHP3 ports work with any version of MySQL, not just 3.23.x.
The main (actually, the only) problem was that MySQL 4.x no longer has
mysql_drop_db() and mysql_create_db() as separate functions, and just as
mentioned in the manual, the solution is to use mysql_query() (or
rather, mysql_real_query()) and emulate them.
Notes
Notes:
svn path=/head/; revision=110781
Diffstat (limited to 'www/mod_php3/scripts/configure.php')
-rw-r--r-- | www/mod_php3/scripts/configure.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php index 8770231603c8..af41539f1fa5 100644 --- a/www/mod_php3/scripts/configure.php +++ b/www/mod_php3/scripts/configure.php @@ -90,7 +90,7 @@ while [ "$1" ]; do echo "CONFIGURE_ARGS+=--with-imap=\${PREFIX}" ;; \"MySQL\") - echo "LIB_DEPENDS+= mysqlclient.10:\${PORTSDIR}/databases/mysql323-client" + echo "USE_MYSQL= yes" echo "CONFIGURE_ARGS+=--with-mysql=\${PREFIX}" MYSQL=1 ;; |