diff options
author | dirk <dirk@FreeBSD.org> | 2000-06-01 22:22:26 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2000-06-01 22:22:26 +0800 |
commit | d00080867f7eba7a9435ecd0db89b9ab6bbda770 (patch) | |
tree | ab775931a22d72c342f949d8f83d798452814dc4 | |
parent | 2333597bfef58e3aaf6d07e4f56d8ceb89690d41 (diff) | |
download | freebsd-ports-gnome-d00080867f7eba7a9435ecd0db89b9ab6bbda770.tar.gz freebsd-ports-gnome-d00080867f7eba7a9435ecd0db89b9ab6bbda770.tar.zst freebsd-ports-gnome-d00080867f7eba7a9435ecd0db89b9ab6bbda770.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.
-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 ;; |