1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Add option LDAP, off by default.

PR:		119155
This commit is contained in:
Gerald Pfeifer 2009-01-04 19:00:06 +00:00
parent 6da68fa3ab
commit dca2826dc7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225248
2 changed files with 16 additions and 0 deletions

View File

@ -44,6 +44,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS= CUPS "Use CUPS (Common UNIX Printing System)" On \
HAL "Use HAL (Hardware Abstraction Layer)" Off \
LDAP "Use LDAP" Off \
LIBXSLT "Use libxslt (only used by msxml3.dll)" Off
.include <bsd.port.pre.mk>
@ -62,6 +63,13 @@ LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
CONFIGURE_ARGS+= --without-hal
.endif
.ifdef WITH_LDAP
CONFIGURE_ARGS+= --with-ldap
USE_OPENLDAP= yes
.else
CONFIGURE_ARGS+= --without-ldap
.endif
.ifdef WITH_LIBXSLT
CONFIGURE_ARGS+= --with-xslt
LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt

View File

@ -44,6 +44,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS= CUPS "Use CUPS (Common UNIX Printing System)" On \
HAL "Use HAL (Hardware Abstraction Layer)" Off \
LDAP "Use LDAP" Off \
LIBXSLT "Use libxslt (only used by msxml3.dll)" Off
.include <bsd.port.pre.mk>
@ -62,6 +63,13 @@ LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
CONFIGURE_ARGS+= --without-hal
.endif
.ifdef WITH_LDAP
CONFIGURE_ARGS+= --with-ldap
USE_OPENLDAP= yes
.else
CONFIGURE_ARGS+= --without-ldap
.endif
.ifdef WITH_LIBXSLT
CONFIGURE_ARGS+= --with-xslt
LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt