From 0e10ca7012a5ca7be3ae32bcf5f63d380e08f794 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Tue, 29 Jan 2008 15:44:36 +0000 Subject: - new option WITH_LDAP PR: 119986 Submitted by: Virgil Champlin --- print/cups-base/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'print') diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index 1c4e7ef84413..ac5dd386b97e 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -49,7 +49,8 @@ OPTIONS= GNUTLS "Build with GNUTLS library" on \ PYTHON "Build PYTHON support" off \ LIBPAPER "Build with libpaper support" off \ DNSSD "Build with DNS_SD (avahi) support" off \ - PAM "Build with PAM support" off + PAM "Build with PAM support" off \ + LDAP "Build with LDAP support" off CUPS_ETCDIR= ${PREFIX}/etc/cups CUPS_SPOOLDIR= /var/spool/cups @@ -113,6 +114,13 @@ CONFIGURE_ARGS+= --disable-pam PLIST_SUB+= WITH_PAMD="@comment " .endif +.if defined(WITH_LDAP) +USE_OPENLDAP= yes +CONFIGURE_ARGS+= --enable-ldap +.else +CONFIGURE_ARGS+= --disable-ldap +.endif + MAN1EXT= 1 MAN5EXT= 5 MAN7EXT= 7 -- cgit v1.2.3