libpq's pkg-config file is currently broken. Use pg_config instead.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
PRG_NAME:=freeswitch
PKG_NAME:=$(PRG_NAME)-stable
PKG_VERSION:=1.10.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
PKG_SOURCE:=$(PRG_NAME)-$(PKG_VERSION).-release.tar.xz
CONFIGURE_ARGS+= \
--without-pgsql
+# libpq pkg-config file is broken, see
+# https://github.com/openwrt/packages/pull/11507
+CONFIGURE_ARGS+= \
+ --disable-core-pgsql-pkgconfig
+
# Don't want host-php
CONFIGURE_VARS+= \
ac_cv_have_php=no \