diff --git a/databases/postgresql82-server/Makefile b/databases/postgresql82-server/Makefile index c43cbbd841c2..6a29d7079c62 100644 --- a/databases/postgresql82-server/Makefile +++ b/databases/postgresql82-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 diff --git a/databases/postgresql83-server/Makefile b/databases/postgresql83-server/Makefile index c43cbbd841c2..6a29d7079c62 100644 --- a/databases/postgresql83-server/Makefile +++ b/databases/postgresql83-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 diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile index c43cbbd841c2..6a29d7079c62 100644 --- a/databases/postgresql84-server/Makefile +++ b/databases/postgresql84-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 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 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 diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile index c43cbbd841c2..6a29d7079c62 100644 --- a/databases/postgresql92-server/Makefile +++ b/databases/postgresql92-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