summaryrefslogtreecommitdiff
path: root/package/postgresql
diff options
context:
space:
mode:
Diffstat (limited to 'package/postgresql')
-rw-r--r--package/postgresql/Makefile11
-rw-r--r--package/postgresql/patches/patch-src_include_Makefile19
2 files changed, 23 insertions, 7 deletions
diff --git a/package/postgresql/Makefile b/package/postgresql/Makefile
index 3f89ddf1c..4419a3c61 100644
--- a/package/postgresql/Makefile
+++ b/package/postgresql/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= postgresql
-PKG_VERSION:= 8.3.7
+PKG_VERSION:= 8.4.4
PKG_RELEASE:= 1
-PKG_MD5SUM:= 6e36f3b4dd27ae0c352376ea9f843de2
+PKG_MD5SUM:= ae7f305eb9388b187e8f07dee0cec55c
PKG_DESCR:= PostgreSQL database library
PKG_SECTION:= libs
PKG_BUILDDEP+= zlib
@@ -25,17 +25,14 @@ INSTALL_STYLE:= manual
PKG_CONFIGURE_ARGS:=\
--disable-integer-datetimes \
- --without-java \
- --without-krb4 \
--without-krb5 \
--without-openssl \
--without-pam \
--without-perl \
--without-python \
--without-readline \
- --without-rendezvous \
+ --without-bonjour \
--without-tcl \
- --without-tk \
--with-zlib="yes"
CONFIGURE_ARGS+= ${PKG_CONFIGURE_ARGS}
@@ -60,6 +57,6 @@ do-build:
do-install:
${INSTALL_DIR} ${IDIR_LIBPQ}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libpq.so.* ${IDIR_LIBPQ}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libpq.so* ${IDIR_LIBPQ}/usr/lib
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/postgresql/patches/patch-src_include_Makefile b/package/postgresql/patches/patch-src_include_Makefile
new file mode 100644
index 000000000..169bee10e
--- /dev/null
+++ b/package/postgresql/patches/patch-src_include_Makefile
@@ -0,0 +1,19 @@
+--- postgresql-8.4.4.orig/src/include/Makefile 2009-07-20 22:48:58.000000000 +0200
++++ postgresql-8.4.4/src/include/Makefile 2010-05-29 18:30:38.481613604 +0200
+@@ -40,7 +40,6 @@ install: all installdirs
+ # These headers are needed for server-side development
+ $(INSTALL_DATA) pg_config.h '$(DESTDIR)$(includedir_server)'
+ $(INSTALL_DATA) pg_config_os.h '$(DESTDIR)$(includedir_server)'
+- $(INSTALL_DATA) utils/fmgroids.h '$(DESTDIR)$(includedir_server)/utils'
+ # We don't use INSTALL_DATA for performance reasons --- there are a lot of files
+ cp $(srcdir)/*.h '$(DESTDIR)$(includedir_server)'/ || exit; \
+ chmod $(INSTALL_DATA_MODE) '$(DESTDIR)$(includedir_server)'/*.h || exit; \
+@@ -62,7 +61,7 @@ uninstall:
+
+
+ clean:
+- rm -f utils/fmgroids.h parser/gram.h utils/probes.h
++ rm -f parser/gram.h utils/probes.h
+
+ distclean maintainer-clean: clean
+ rm -f pg_config.h dynloader.h pg_config_os.h stamp-h