summaryrefslogtreecommitdiff
path: root/www/mod_php3
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php3')
-rw-r--r--www/mod_php3/scripts/configure.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php
index 64a397cff48b..77aa2cf4a85a 100644
--- a/www/mod_php3/scripts/configure.php
+++ b/www/mod_php3/scripts/configure.php
@@ -132,7 +132,7 @@ while [ "$1" ]; do
echo "LIB_DEPENDS+= ldap.1:\${PORTSDIR}/net/openldap"
echo "LIB_DEPENDS+= lber.1:\${PORTSDIR}/net/openldap"
echo "CONFIGURE_ARGS+=--with-ldap=\${PREFIX}"
- if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a ]; then
+ if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a -a ! -L /usr/lib/libdes.a ]; then
echo "CONFIGURE_ENV+= LIBS='-lkrb -ldes -L\${PREFIX}/lib'"
fi
;;