1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add a WITH_SASL knob that causes OpenLDAP 2 to be compiled with

support for SASL.

Submitted by:	nectar
This commit is contained in:
Akinori MUSHA 2000-11-08 07:48:20 +00:00
parent a907c2f753
commit 7a7daa00f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34903
9 changed files with 117 additions and 36 deletions

View File

@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
CONFIGURE_ARGS+= --enable-wrappers
.endif
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
CONFIGURE_ARGS+= --enable-ldbm \
--with-ldbm-api=db2
.endif
.if defined(WITH_SASL)
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
CPPFLAGS+= -I${LOCALBASE}/include/sasl
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
BINS= bin/ldapadd \
bin/ldapdelete \
bin/ldapmodify \

View File

@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
CONFIGURE_ARGS+= --enable-wrappers
.endif
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
CONFIGURE_ARGS+= --enable-ldbm \
--with-ldbm-api=db2
.endif
.if defined(WITH_SASL)
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
CPPFLAGS+= -I${LOCALBASE}/include/sasl
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
BINS= bin/ldapadd \
bin/ldapdelete \
bin/ldapmodify \

View File

@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
CONFIGURE_ARGS+= --enable-wrappers
.endif
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
CONFIGURE_ARGS+= --enable-ldbm \
--with-ldbm-api=db2
.endif
.if defined(WITH_SASL)
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
CPPFLAGS+= -I${LOCALBASE}/include/sasl
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
BINS= bin/ldapadd \
bin/ldapdelete \
bin/ldapmodify \

View File

@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
CONFIGURE_ARGS+= --enable-wrappers
.endif
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
CONFIGURE_ARGS+= --enable-ldbm \
--with-ldbm-api=db2
.endif
.if defined(WITH_SASL)
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
CPPFLAGS+= -I${LOCALBASE}/include/sasl
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
BINS= bin/ldapadd \
bin/ldapdelete \
bin/ldapmodify \

View File

@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
CONFIGURE_ARGS+= --enable-wrappers
.endif
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
CONFIGURE_ARGS+= --enable-ldbm \
--with-ldbm-api=db2
.endif
.if defined(WITH_SASL)
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
CPPFLAGS+= -I${LOCALBASE}/include/sasl
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
BINS= bin/ldapadd \
bin/ldapdelete \
bin/ldapmodify \

View File

@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
CONFIGURE_ARGS+= --enable-wrappers
.endif
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
CONFIGURE_ARGS+= --enable-ldbm \
--with-ldbm-api=db2
.endif
.if defined(WITH_SASL)
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
CPPFLAGS+= -I${LOCALBASE}/include/sasl
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
BINS= bin/ldapadd \
bin/ldapdelete \
bin/ldapmodify \

View File

@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
CONFIGURE_ARGS+= --enable-wrappers
.endif
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
CONFIGURE_ARGS+= --enable-ldbm \
--with-ldbm-api=db2
.endif
.if defined(WITH_SASL)
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
CPPFLAGS+= -I${LOCALBASE}/include/sasl
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
BINS= bin/ldapadd \
bin/ldapdelete \
bin/ldapmodify \

View File

@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
CONFIGURE_ARGS+= --enable-wrappers
.endif
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
CONFIGURE_ARGS+= --enable-ldbm \
--with-ldbm-api=db2
.endif
.if defined(WITH_SASL)
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
CPPFLAGS+= -I${LOCALBASE}/include/sasl
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
BINS= bin/ldapadd \
bin/ldapdelete \
bin/ldapmodify \

View File

@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
CONFIGURE_ARGS+= --enable-wrappers
.endif
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
CONFIGURE_ARGS+= --enable-ldbm \
--with-ldbm-api=db2
.endif
.if defined(WITH_SASL)
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
CPPFLAGS+= -I${LOCALBASE}/include/sasl
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
BINS= bin/ldapadd \
bin/ldapdelete \
bin/ldapmodify \