summaryrefslogtreecommitdiff
path: root/www/mod_php3
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>1999-10-09 15:00:21 +0000
committerDirk Froemberg <dirk@FreeBSD.org>1999-10-09 15:00:21 +0000
commitea8f39c0f895bdfd23f68a4fe66a18d379b9d0b8 (patch)
treef03dfa7ecf0db7ffd9dd4bb8cebc2be3b37a0f75 /www/mod_php3
parentPut xcin back to /usr/X11R6/lib/X11/xcin. (diff)
Add a quick'n dirty hack to fix an build error if openldap support
is selected and kerberos is installed. Reported by: Andreas Klemm <andreas@FreeBSD.org> (years ago...) Salvatore Greco <salvo@reaper.org>
Notes
Notes: svn path=/head/; revision=22271
Diffstat (limited to 'www/mod_php3')
-rw-r--r--www/mod_php3/scripts/configure.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php
index d70d575e246b..b7ff0e1013fd 100644
--- a/www/mod_php3/scripts/configure.php
+++ b/www/mod_php3/scripts/configure.php
@@ -111,6 +111,9 @@ while [ "$1" ]; do
echo "BUILD_DEPENDS+= \${PREFIX}/lib/libldap.a:\${PORTSDIR}/net/openldap"
echo "BUILD_DEPENDS+= \${PREFIX}/lib/liblber.a:\${PORTSDIR}/net/openldap"
echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}"
+ if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a ]; then
+ echo "CONFIGURE_ENV+= LIBS='-lkrb -ldes -L\${PREFIX}/lib'"
+ fi
;;
\"SNMP\")
echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/ucd-snmp"