- Make heimdal buildable with WITH_OPENLDAP defined, again.
- Our heimdal uses the deprecated OpenLDAP functions.
This commit is contained in:
parent
b66c0c3405
commit
782ed6d3d7
@ -10,7 +10,7 @@ CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../../include
|
||||
OPENLDAPBASE?= /usr/local
|
||||
LDAPLDADD= -lldap -llber
|
||||
LDAPDPADD= ${LDAPLDADD:C;^-l(.*)$;${OPENLDAPBASE}/lib/lib\1.a;}
|
||||
LDAPCFLAGS= -I${OPENLDAPBASE}/include -DOPENLDAP=1
|
||||
LDAPCFLAGS= -I${OPENLDAPBASE}/include -DOPENLDAP=1 -DLDAP_DEPRECATED=1
|
||||
LDAPLDFLAGS= -L${OPENLDAPBASE}/lib -Wl,-rpath,${OPENLDAPBASE}/lib
|
||||
.endif
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
LIB= hdb
|
||||
LDFLAGS= -Wl,--no-undefined
|
||||
LDADD= -lasn1 -lcom_err -lkrb5 -lroken
|
||||
DPADD= ${LIBASN1} ${LIBCOM_ERR} ${LIBKRB5} ${LIBROKEN}
|
||||
LDFLAGS= -Wl,--no-undefined ${LDAPLDFLAGS}
|
||||
LDADD= -lasn1 -lcom_err -lkrb5 -lroken ${LDAPLDADD}
|
||||
DPADD= ${LIBASN1} ${LIBCOM_ERR} ${LIBKRB5} ${LIBROKEN} ${LDAPDPADD}
|
||||
|
||||
INCS= hdb-private.h \
|
||||
hdb-protos.h \
|
||||
|
Loading…
Reference in New Issue
Block a user