When LDAP options is turned on make sure configure script can find

ldap libraries

Reported by:    Giuseppe Robbiati
This commit is contained in:
Guido Falsi 2013-05-19 09:00:32 +00:00
parent 42e29e8b04
commit 998375e7ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318501

View file

@ -71,6 +71,7 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid33
.if ${PORT_OPTIONS:MLDAP}
CONFIGURE_ARGS+= --with-ldap
LDFLAGS+= -L${LOCALBASE}/lib
USE_OPENLDAP= yes
.else
CONFIGURE_ARGS+= --without-ldap