aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-01-29 23:44:36 +0800
committerdinoex <dinoex@FreeBSD.org>2008-01-29 23:44:36 +0800
commit0ef9052fea5a6dc336a79f06df5f1276ad91378c (patch)
tree767c5b032b7fbe17106a7f5d506d350534460072 /print
parent58f3a8d03df73c0cc892198e9e9a4819da7d9821 (diff)
downloadfreebsd-ports-graphics-0ef9052fea5a6dc336a79f06df5f1276ad91378c.tar.gz
freebsd-ports-graphics-0ef9052fea5a6dc336a79f06df5f1276ad91378c.tar.zst
freebsd-ports-graphics-0ef9052fea5a6dc336a79f06df5f1276ad91378c.zip
- new option WITH_LDAP
PR: 119986 Submitted by: Virgil Champlin
Diffstat (limited to 'print')
-rw-r--r--print/cups-base/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 1c4e7ef8441..ac5dd386b97 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