From: Chris Frederick Date: Mon, 24 Oct 2016 09:13:18 -0500 Subject: [Buildroot] [PATCH 2/2] postgresql: enable ldap support for pg_service.conf In-Reply-To: <1477318398-4734-1-git-send-email-cdf123@cdf123.net> References: <1477318398-4734-1-git-send-email-cdf123@cdf123.net> Message-ID: <1477318398-4734-2-git-send-email-cdf123@cdf123.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Just needed to add --with-ldap to POSTGRESQL_CONF_OPTS and add openldap to POSTGRESQL_DEPENDENCIES when BR2_PACKAGE_OPENLDAP is on Signed-off-by: Chris Frederick --- package/postgresql/postgresql.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk index e2756bf..1b184e7 100644 --- a/package/postgresql/postgresql.mk +++ b/package/postgresql/postgresql.mk @@ -57,6 +57,13 @@ POSTGRESQL_DEPENDENCIES += openssl POSTGRESQL_CONF_OPTS += --with-openssl endif +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +POSTGRESQL_DEPENDENCIES += openldap +POSTGRESQL_CONF_OPTS += --with-ldap +else +POSTGRESQL_CONF_OPTS += --without-ldap +endif + define POSTGRESQL_USERS postgres -1 postgres -1 * /var/lib/pgsql /bin/sh - PostgreSQL Server endef -- 2.7.3