diff options
author | dirk <dirk@FreeBSD.org> | 1999-01-18 23:38:00 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 1999-01-18 23:38:00 +0800 |
commit | a61ca2e19949198d23448f0bad4af29f3ecfd0f2 (patch) | |
tree | 27b2a0e12ece1ed46c1168da2962cd52f24c15ee /www/mod_php5 | |
parent | 1f54585e3e59497672f747f09ecaf7ceca1a8a8a (diff) | |
download | freebsd-ports-gnome-a61ca2e19949198d23448f0bad4af29f3ecfd0f2.tar.gz freebsd-ports-gnome-a61ca2e19949198d23448f0bad4af29f3ecfd0f2.tar.zst freebsd-ports-gnome-a61ca2e19949198d23448f0bad4af29f3ecfd0f2.zip |
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
Diffstat (limited to 'www/mod_php5')
-rw-r--r-- | www/mod_php5/scripts/configure.php | 4 |
1 files changed, 0 insertions, 4 deletions
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\") |