From 7e70627d9cbffa595ad1f3da5fb47df308e01903 Mon Sep 17 00:00:00 2001 From: Palle Girgensohn Date: Tue, 6 Feb 2007 15:53:24 +0000 Subject: Add option to build with LDAP authentication Suggested by: Ederson de Moura --- databases/postgresql90-server/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'databases/postgresql90-server') diff --git a/databases/postgresql90-server/Makefile b/databases/postgresql90-server/Makefile index c43cbbd841c2..6a29d7079c62 100644 --- a/databases/postgresql90-server/Makefile +++ b/databases/postgresql90-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 -- cgit v1.3