diff options
-rw-r--r-- | databases/postgresql83-server/Makefile | 4 | ||||
-rw-r--r-- | databases/postgresql83/options.mk | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/databases/postgresql83-server/Makefile b/databases/postgresql83-server/Makefile index 9db98373396..a6fc3080e99 100644 --- a/databases/postgresql83-server/Makefile +++ b/databases/postgresql83-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2009/12/16 14:23:13 adam Exp $ +# $NetBSD: Makefile,v 1.7 2010/01/16 09:30:32 adam Exp $ PKGNAME= postgresql83-server-${BASE_VERS} COMMENT= PostgreSQL database server programs @@ -46,7 +46,7 @@ DL_LIBS+= -lltdl .endif PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql83-server -PKG_SUPPORTED_OPTIONS= pam +PKG_SUPPORTED_OPTIONS= ldap pam .include "../../databases/postgresql83/options.mk" # PGUSER username of the database administrator diff --git a/databases/postgresql83/options.mk b/databases/postgresql83/options.mk index 5284019fe88..63e9278a5f7 100644 --- a/databases/postgresql83/options.mk +++ b/databases/postgresql83/options.mk @@ -1,10 +1,18 @@ -# $NetBSD: options.mk,v 1.1.1.1 2008/03/04 12:41:36 adam Exp $ +# $NetBSD: options.mk,v 1.2 2010/01/16 09:30:31 adam Exp $ PKG_SUPPORTED_OPTIONS+= # empty .include "../../mk/bsd.options.mk" ### +### LDAP authentication for the PostgreSQL backend. +### +.if !empty(PKG_OPTIONS:Mldap) +. include "../../databases/openldap-client/buildlink3.mk" +CONFIGURE_ARGS+= --with-ldap +.endif + +### ### PAM authentication for the PostgreSQL backend. ### .if !empty(PKG_OPTIONS:Mpam) |