summaryrefslogtreecommitdiffstats
path: root/package/postgresql/postgresql.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2014-09-01 15:22:07 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-09-01 15:22:07 +0200
commit5aedb8be688d47526101bdb3e58598df588326e6 (patch)
treeae348b9262fdaf123b3b152e65b6116b5ef36cb4 /package/postgresql/postgresql.mk
parent7f0ce7c8780569afa33b68c9c024bf4072e29a99 (diff)
parent62387a8b11224a9c5320d42e2f0c4e2089d3452b (diff)
downloadbuildroot-5aedb8be688d47526101bdb3e58598df588326e6.tar.gz
buildroot-5aedb8be688d47526101bdb3e58598df588326e6.zip
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/postgresql/postgresql.mk')
-rw-r--r--package/postgresql/postgresql.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk
index e83fa831b4..92596ffe52 100644
--- a/package/postgresql/postgresql.mk
+++ b/package/postgresql/postgresql.mk
@@ -4,13 +4,14 @@
#
################################################################################
-POSTGRESQL_VERSION = 9.3.4
+POSTGRESQL_VERSION = 9.3.5
POSTGRESQL_SOURCE = postgresql-$(POSTGRESQL_VERSION).tar.bz2
POSTGRESQL_SITE = http://ftp.postgresql.org/pub/source/v$(POSTGRESQL_VERSION)
POSTGRESQL_LICENSE = PostgreSQL
POSTGRESQL_LICENSE_FILES = COPYRIGHT
POSTGRESQL_INSTALL_STAGING = YES
+POSTGRESQL_CONFIG_SCRIPTS = pg_config
ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
POSTGRESQL_CONF_OPT += --disable-thread-safety
@@ -56,6 +57,13 @@ endef
POSTGRESQL_POST_INSTALL_TARGET_HOOKS += POSTGRESQL_INSTALL_TARGET_FIXUP
+define POSTGRESQL_INSTALL_CUSTOM_PG_CONFIG
+ $(INSTALL) -m 0755 -D package/postgresql/pg_config \
+ $(STAGING_DIR)/usr/bin/pg_config
+endef
+
+POSTGRESQL_POST_INSTALL_STAGING_HOOKS += POSTGRESQL_INSTALL_CUSTOM_PG_CONFIG
+
define POSTGRESQL_INSTALL_INIT_SYSV
$(INSTALL) -m 0755 -D package/postgresql/S50postgresql \
$(TARGET_DIR)/etc/init.d/S50postgresql
OpenPOWER on IntegriCloud