summaryrefslogtreecommitdiffstats
path: root/www/mod_php3
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2000-06-01 14:22:26 +0000
committerdirk <dirk@FreeBSD.org>2000-06-01 14:22:26 +0000
commitd00080867f7eba7a9435ecd0db89b9ab6bbda770 (patch)
treeab775931a22d72c342f949d8f83d798452814dc4 /www/mod_php3
parent2333597bfef58e3aaf6d07e4f56d8ceb89690d41 (diff)
downloadFreeBSD-ports-d00080867f7eba7a9435ecd0db89b9ab6bbda770.zip
FreeBSD-ports-d00080867f7eba7a9435ecd0db89b9ab6bbda770.tar.gz
Add explicit test if /usr/lib/libdes.a is not a symlink to avoid
problems on 4.0-STABLE (5.0-CURRENT probably, too) if kerberos4 is installed.
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 64a397c..77aa2cf 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
;;
OpenPOWER on IntegriCloud