diff options
Diffstat (limited to 'print/cups-base/Makefile')
-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 |