mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
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:
19
dev-db/postgresql/patches/postgresql-9.2.3.patch
Normal file
19
dev-db/postgresql/patches/postgresql-9.2.3.patch
Normal 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
|
||||
27
dev-db/postgresql/postgresql-9.2.3.bep
Normal file
27
dev-db/postgresql/postgresql-9.2.3.bep
Normal 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"
|
||||
Reference in New Issue
Block a user