summaryrefslogtreecommitdiff
path: root/www/mod_php5/scripts/configure.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php5/scripts/configure.php')
-rw-r--r--www/mod_php5/scripts/configure.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index 0f98a3fb6509..ac54e5f9076c 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/scripts/configure.php
@@ -120,8 +120,8 @@ while [ "$1" ]; do
echo "PHP_CONF_ARGS+= --with-dbase"
;;
\"OpenLDAP\")
- echo "BUILD_DEPENDS+= \${PREFIX}/lib/libldap.a:\${PORTSDIR}/net/openldap"
- echo "BUILD_DEPENDS+= \${PREFIX}/lib/liblber.a:\${PORTSDIR}/net/openldap"
+ echo "LIB_DEPENDS+= ldap.1:\${PORTSDIR}/net/openldap"
+ echo "LIB_DEPENDS+= lber.1:\${PORTSDIR}/net/openldap"
echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}"
if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a ]; then
echo "CONFIGURE_ENV+= LIBS='-lkrb -ldes -L\${PREFIX}/lib'"