diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 1999-10-09 15:00:21 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 1999-10-09 15:00:21 +0000 |
commit | ea8f39c0f895bdfd23f68a4fe66a18d379b9d0b8 (patch) | |
tree | f03dfa7ecf0db7ffd9dd4bb8cebc2be3b37a0f75 /www/mod_php4/scripts/configure.php | |
parent | Put 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 '')
-rw-r--r-- | www/mod_php4/scripts/configure.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 8d1eae48509b..a6630b4777d8 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -123,6 +123,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" |