All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] collectd: add configure hint for pg_config
@ 2015-03-16 20:30 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2015-03-16 20:30 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=79e0eac99b937d54ca53a5c4ea928a723ff7059d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fixes [1] in case postgresql-devel package is installed on the host:

    libpq . . . . . . . . no (libpq-fe.h not found)
    postgresql  . . . . . no (dependency error)
    configure: error: "Some plugins are missing dependencies - see the summary above for details"

Otherwise fixes the following configure warning:

	configure: WARNING: pg_config returned with status 127

[1] http://autobuild.buildroot.net/results/336/336b3e932be245faa04969af960702af672916dc

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/collectd/collectd.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index d5802d6..a4b91d6 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -139,6 +139,9 @@ endif
 ifeq ($(BR2_PACKAGE_NETSNMP),y)
 	COLLECTD_CONF_OPTS += --with-libnetsnmp=$(STAGING_DIR)/usr/bin/net-snmp-config
 endif
+ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
+	COLLECTD_CONF_OPTS += --with-libpq=$(STAGING_DIR)/usr/bin/pg_config
+endif
 ifeq ($(BR2_PACKAGE_YAJL),y)
 	COLLECTD_CONF_OPTS += --with-yajl=$(STAGING_DIR)/usr
 endif

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-16 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-16 20:30 [Buildroot] [git commit] collectd: add configure hint for pg_config Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.