summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2000-06-01 14:22:26 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2000-06-01 14:22:26 +0000
commit908df9c4561e4ffe30f26f246c105cfbdfae76dc (patch)
treeaad015eb7dd5bfe93fae735bf926d805315b3dbe /www
parent7f6bc0d61238fb40bdb48541236e27a91018f3a3 (diff)
downloadfreebsd-ports-908df9c4561e4ffe30f26f246c105cfbdfae76dc.zip
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')
-rw-r--r--www/mod_php3/scripts/configure.php2
-rw-r--r--www/mod_php4/scripts/configure.php2
-rw-r--r--www/mod_php5/scripts/configure.php2
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
;;