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