diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2008-01-29 15:44:36 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2008-01-29 15:44:36 +0000 |
commit | 0e10ca7012a5ca7be3ae32bcf5f63d380e08f794 (patch) | |
tree | 80b1179a3debfe0c2a947ac7473a25cc827b5329 /print | |
parent | 502894209c7be6ef51dfbff1ae7a4caaf704b7a2 (diff) | |
download | ports-0e10ca7012a5ca7be3ae32bcf5f63d380e08f794.tar.gz ports-0e10ca7012a5ca7be3ae32bcf5f63d380e08f794.zip |
- new option WITH_LDAP
PR: 119986
Submitted by: Virgil Champlin
Notes
Notes:
svn path=/head/; revision=206391
Diffstat (limited to 'print')
-rw-r--r-- | print/cups-base/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
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 |