From f2b221a3576c6098ae48631f1b39a0e2d5acea30 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Thu, 3 Jun 2004 15:49:13 +0000 Subject: 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. --- www/mod_php3/scripts/configure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/mod_php3/scripts/configure.php') 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 ;; -- cgit v1.2.3