From 908df9c4561e4ffe30f26f246c105cfbdfae76dc Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Thu, 1 Jun 2000 14:22:26 +0000 Subject: 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. --- www/mod_php3/scripts/configure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/mod_php3') 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 ;; -- cgit v1.2.3