summaryrefslogtreecommitdiff
path: root/databases/postgresql91-server
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2007-02-06 15:53:24 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2007-02-06 15:53:24 +0000
commit7e70627d9cbffa595ad1f3da5fb47df308e01903 (patch)
tree719b708f1febec2401d93e7e399682f86e64ffe8 /databases/postgresql91-server
parentfix duplicated post-patch target (diff)
Add option to build with LDAP authentication
Suggested by: Ederson de Moura
Notes
Notes: svn path=/head/; revision=184377
Diffstat (limited to 'databases/postgresql91-server')
-rw-r--r--databases/postgresql91-server/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile
index c43cbbd841c2..6a29d7079c62 100644
--- a/databases/postgresql91-server/Makefile
+++ b/databases/postgresql91-server/Makefile
@@ -85,6 +85,7 @@ BROKEN= Coredump during build on alpha 4.x
OPTIONS+= GNUGETOPT "Use GNU getopt" on
. endif
OPTIONS+= PAM "Build with PAM support (server only)" off
+OPTIONS+= LDAP "Build with LDAP authentication support" off
OPTIONS+= MIT_KRB5 "Build with MIT's kerberos support" off
OPTIONS+= HEIMDAL_KRB5 "Builds with Heimdal kerberos support" off
OPTIONS+= OPTIMIZED_CFLAGS "Builds with compiler optimizations (-O3)" off
@@ -128,6 +129,11 @@ DISTFILES+= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
CONFIGURE_ARGS+=--with-pam
. endif
+. if defined(SERVER_ONLY) && defined(WITH_LDAP)
+CONFIGURE_ARGS+=--with-ldap
+USE_OPENLDAP= YES
+. endif
+
. if defined(WITH_INTDATE)
CONFIGURE_ARGS+=--enable-integer-datetimes
. endif