From ea8f39c0f895bdfd23f68a4fe66a18d379b9d0b8 Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Sat, 9 Oct 1999 15:00:21 +0000 Subject: Add a quick'n dirty hack to fix an build error if openldap support is selected and kerberos is installed. Reported by: Andreas Klemm (years ago...) Salvatore Greco --- www/mod_php3/scripts/configure.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'www/mod_php3/scripts') 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" -- cgit v1.2.3