diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2000-06-01 14:22:26 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2000-06-01 14:22:26 +0000 |
commit | 908df9c4561e4ffe30f26f246c105cfbdfae76dc (patch) | |
tree | aad015eb7dd5bfe93fae735bf926d805315b3dbe /www | |
parent | Remove extra directory at deinstall time. (diff) |
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.
Notes
Notes:
svn path=/head/; revision=29050
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_php3/scripts/configure.php | 2 | ||||
-rw-r--r-- | www/mod_php4/scripts/configure.php | 2 | ||||
-rw-r--r-- | www/mod_php5/scripts/configure.php | 2 |
3 files changed, 3 insertions, 3 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 ;; diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 266024df7207..492f6bac000f 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -113,7 +113,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 ;; diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 266024df7207..492f6bac000f 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -113,7 +113,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 ;; |