From a886b1c5b2b6f1c11094d4d4a45c2df5b855c9c2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 4 Feb 2012 18:44:54 +0000 Subject: [PATCH] [packages_10.03.2] postgresql: merge r27856, r29199 SVN-Revision: 30060 --- libs/postgresql/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index 2120155ad0..8f91b51780 100644 --- a/libs/postgresql/Makefile +++ b/libs/postgresql/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2010 OpenWrt.org +# Copyright (C) 2006-2011 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=postgresql PKG_VERSION:=9.0.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=\ @@ -156,6 +156,9 @@ endef TARGET_CFLAGS += $(FPIC) +# because PROFILE means something else in the project Makefile +unexport PROFILE + define Build/Compile $(MAKE) $(PKG_JOBS) -C "$(PKG_BUILD_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ @@ -196,6 +199,10 @@ define Package/pgsql-server/install $(1)/usr/lib endef +define Package/pgsql-server/conffiles +/etc/config/postgresql +endef + define Package/pgsql-server/postinst #!/bin/sh grep -q '^postgres:' /etc/passwd && exit 0 -- 2.30.2