Updated postgresql to 9.2.3, note that it's still needs further patching to get working, marked as

broken.
This commit is contained in:
Scott McCreary
2013-02-25 07:09:36 +00:00
parent db4245ea7a
commit 36ab59abd8
2 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
diff -urN postgresql-9.2.3/configure.in postgresql-9.2.3-haiku/configure.in
--- postgresql-9.2.3/configure.in
+++ postgresql-9.2.3-haiku/configure.in
@@ -861,7 +861,7 @@
AC_CHECK_LIB(m, main)
AC_SEARCH_LIBS(setproctitle, util)
AC_SEARCH_LIBS(dlopen, dl)
-AC_SEARCH_LIBS(socket, [socket wsock32])
+AC_SEARCH_LIBS(socket, [socket wsock32 network])
AC_SEARCH_LIBS(shl_load, dld)
# We only use libld in port/dynloader/aix.c
case $host_os in
diff -urN postgresql-9.2.3/src/template/haiku postgresql-9.2.3-haiku/src/template/haiku
--- postgresql-9.2.3/src/template/haiku
+++ postgresql-9.2.3-haiku/src/template/haiku
@@ -0,0 +1,3 @@
+case $host_os in
+ haiku*) ;;
+esac

View File

@@ -0,0 +1,27 @@
DESCRIPTION="PostgreSQL is a powerful, open source object-relational database system."
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="http://ftp.postgresql.org/pub/source/v9.2.3/postgresql-9.2.3.tar.bz2"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND="dev-libs/libedit >= 20100424"
CHECKSUM_MD5="59f42a93695b0186ed5eb03c2653a7d4"
BUILD {
cd postgresql-9.2.3
./configure --prefix=`finddir B_COMMON_DIRECTORY` --with-template=haiku
make
}
INSTALL {
cd postgresql-9.2.3
make install
}
TEST {
cd postgresql-9.2.3
# make test
# make check
}
LICENSE="PostgreSQL"
COPYRIGHT="1996-2012, PostgreSQL Global Development Group
1994, The Regents of the University of California"