1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

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>
This commit is contained in:
Dirk Froemberg 1999-10-09 15:00:21 +00:00
parent 379219ac0a
commit ea8f39c0f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22271
3 changed files with 9 additions and 0 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"