From a61ca2e19949198d23448f0bad4af29f3ecfd0f2 Mon Sep 17 00:00:00 2001 From: dirk Date: Mon, 18 Jan 1999 15:38:00 +0000 Subject: Don't try to find out which mysql version is installed. Use a simple library dependency to mysql322. The "autodetection" introduces more problems than it solves. Requested by: Satoshi --- www/mod_php5/scripts/configure.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'www/mod_php5') diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 56b3b2544021..aade154c1ab3 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -59,11 +59,7 @@ while [ "$1" ]; do echo "PHP3_CONF_ARGS+= --with-zlib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ;; \"MySQL\") - echo ".if !exists(\${PREFIX}/lib/mysql/libmysqlclient.a) || exists(\${PREFIX}/lib/mysql/libmysqlclient.so)" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc echo "LIB_DEPENDS+= mysqlclient.5:\${PORTSDIR}/databases/mysql322" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - echo ".else" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - echo "BUILD_DEPENDS+= \${PREFIX}/lib/mysql/libmysqlclient.a:\${PORTSDIR}/databases/mysql321" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - echo ".endif" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc echo "PHP3_CONF_ARGS+= --with-mysql=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ;; \"PostgreSQL\") -- cgit