* [Buildroot] [PATCH v1] motion: fix postgresql support
@ 2016-10-17 20:01 Peter Seiderer
2016-10-19 21:38 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Peter Seiderer @ 2016-10-17 20:01 UTC (permalink / raw)
To: buildroot
The commandline paramter to enable/disable postgresql support is
called '--with-pgsql/--without-pgsql' and not '--with-postgresql/
--without-postgresql'.
Fixes [1] in case postgresql development files are installed on the host:
checking for PostgreSQL... testing
checking autodect pgsql headers... yes /usr/include/postgresql
checking autodect pgsql libs... /usr/lib64
checking for PQconnectStart in -lpq... no
configure: error: PostgreSQL support can't build without PostgreSQL libraries
[1] http://autobuild.buildroot.net/results/749/7497730da2affffe0e5b9b790081de10c269f416
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
package/motion/motion.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/motion/motion.mk b/package/motion/motion.mk
index de29a2a..1b80561 100644
--- a/package/motion/motion.mk
+++ b/package/motion/motion.mk
@@ -44,11 +44,11 @@ endif
ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
MOTION_DEPENDENCIES += postgresql
MOTION_CONF_OPTS += \
- --with-postgresql \
+ --with-pgsql \
--with-pgsql-include=$(STAGING_DIR)/usr/include \
--with-pgsql-lib=$(STAGING_DIR)/usr/lib
else
-MOTION_CONF_OPTS += --without-postgresql
+MOTION_CONF_OPTS += --without-pgsql
endif
ifeq ($(BR2_PACKAGE_SDL),y)
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v1] motion: fix postgresql support
2016-10-17 20:01 [Buildroot] [PATCH v1] motion: fix postgresql support Peter Seiderer
@ 2016-10-19 21:38 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-10-19 21:38 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 17 Oct 2016 22:01:28 +0200, Peter Seiderer wrote:
> The commandline paramter to enable/disable postgresql support is
> called '--with-pgsql/--without-pgsql' and not '--with-postgresql/
> --without-postgresql'.
>
> Fixes [1] in case postgresql development files are installed on the host:
>
> checking for PostgreSQL... testing
> checking autodect pgsql headers... yes /usr/include/postgresql
> checking autodect pgsql libs... /usr/lib64
> checking for PQconnectStart in -lpq... no
> configure: error: PostgreSQL support can't build without PostgreSQL libraries
>
> [1] http://autobuild.buildroot.net/results/749/7497730da2affffe0e5b9b790081de10c269f416
>
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
> package/motion/motion.mk | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-19 21:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-17 20:01 [Buildroot] [PATCH v1] motion: fix postgresql support Peter Seiderer
2016-10-19 21:38 ` 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.