summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam>2010-09-21 07:56:11 +0000
committeradam <adam>2010-09-21 07:56:11 +0000
commitc9a55ac3129c031a8fe822ec6b77e4fb490c4973 (patch)
tree98518fbee703b112db60419122970081c71d87d9
parent9f35ddcc4412e8cfc07c450d082a8560b77ff7bb (diff)
downloadpkgsrc-c9a55ac3129c031a8fe822ec6b77e4fb490c4973.tar.gz
Added databases/postgresql90 version 9.0.0
-rw-r--r--databases/Makefile12
-rw-r--r--doc/CHANGES-201013
-rw-r--r--doc/TODO3
-rw-r--r--mk/pgsql.buildlink3.mk15
4 files changed, 36 insertions, 7 deletions
diff --git a/databases/Makefile b/databases/Makefile
index d73582ed08c..281ff3e0ef4 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.349 2010/09/18 09:10:24 obache Exp $
+# $NetBSD: Makefile,v 1.350 2010/09/21 07:56:11 adam Exp $
#
COMMENT= Databases
@@ -235,6 +235,16 @@ SUBDIR+= postgresql84-plperl
SUBDIR+= postgresql84-plpython
SUBDIR+= postgresql84-pltcl
SUBDIR+= postgresql84-server
+SUBDIR+= postgresql90
+SUBDIR+= postgresql90-adminpack
+SUBDIR+= postgresql90-client
+SUBDIR+= postgresql90-dblink
+SUBDIR+= postgresql90-docs
+SUBDIR+= postgresql90-pgcrypto
+SUBDIR+= postgresql90-plperl
+SUBDIR+= postgresql90-plpython
+SUBDIR+= postgresql90-pltcl
+SUBDIR+= postgresql90-server
SUBDIR+= pxtools
SUBDIR+= py-PgSQL
SUBDIR+= py-bdb-xml
diff --git a/doc/CHANGES-2010 b/doc/CHANGES-2010
index 4b982a0c5ca..ea9273ebf95 100644
--- a/doc/CHANGES-2010
+++ b/doc/CHANGES-2010
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2010,v 1.3553 2010/09/21 06:26:19 mrg Exp $
+$NetBSD: CHANGES-2010,v 1.3554 2010/09/21 08:10:57 adam Exp $
Changes to the packages collection and infrastructure in 2010:
@@ -4730,3 +4730,14 @@ Changes to the packages collection and infrastructure in 2010:
Updated devel/p5-Package-Stash to 0.08 [sno 2010-09-21]
Updated devel/p5-Getopt-Long-Descriptive to 0.086 [sno 2010-09-21]
Updated www/bozohttpd to 20100920 [mrg 2010-09-21]
+ Updated mail/clamav to 0.96.3 [adam 2010-09-21]
+ Added databases/postgresql90 version 9.0.0 [adam 2010-09-21]
+ Added databases/postgresql90-client version 9.0.0 [adam 2010-09-21]
+ Added databases/postgresql90-docs version 9.0.0 [adam 2010-09-21]
+ Added databases/postgresql90-server version 9.0.0 [adam 2010-09-21]
+ Added databases/postgresql90-adminpack version 9.0.0 [adam 2010-09-21]
+ Added databases/postgresql90-dblink version 9.0.0 [adam 2010-09-21]
+ Added databases/postgresql90-pgcrypto version 9.0.0 [adam 2010-09-21]
+ Added databases/postgresql90-plperl version 9.0.0 [adam 2010-09-21]
+ Added databases/postgresql90-plpython version 9.0.0 [adam 2010-09-21]
+ Added databases/postgresql90-pltcl version 9.0.0 [adam 2010-09-21]
diff --git a/doc/TODO b/doc/TODO
index ca6aeb4b8c9..e05d8b23d19 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.9729 2010/09/21 05:43:39 sno Exp $
+$NetBSD: TODO,v 1.9730 2010/09/21 08:10:57 adam Exp $
Suggested new packages
======================
@@ -1028,7 +1028,6 @@ For possible perl packages updates, see http://www.pkgbox.org/p2c/
o poppy-4.01
o posh-0.5.5
o postal-0.70
- o postgresql-9.0
o pptp-1.7.1 [pkg/38038]
o profit-2.5.3
o projclock-0.9
diff --git a/mk/pgsql.buildlink3.mk b/mk/pgsql.buildlink3.mk
index 0149fd33394..e542e4647b7 100644
--- a/mk/pgsql.buildlink3.mk
+++ b/mk/pgsql.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pgsql.buildlink3.mk,v 1.28 2010/02/10 19:33:54 joerg Exp $
+# $NetBSD: pgsql.buildlink3.mk,v 1.29 2010/09/21 08:06:09 adam Exp $
#
# User-settable variables:
#
@@ -26,7 +26,7 @@ _SYS_VARS.pgsql= PG_LIB_EXT PGSQL_TYPE PGPKGSRCDIR
.include "../../mk/bsd.prefs.mk"
PGSQL_VERSION_DEFAULT?= 84
-PGSQL_VERSIONS_ACCEPTED?= 84 83 82
+PGSQL_VERSIONS_ACCEPTED?= 90 84 83 82
# transform the list into individual variables
.for pv in ${PGSQL_VERSIONS_ACCEPTED}
@@ -41,6 +41,9 @@ PG_LIB_EXT=so
# check what is installed
.if ${OPSYS} == "Darwin"
+.if exists(${LOCALBASE}/lib/libecpg.6.0.2.dylib)
+_PGSQL_VERSION_90_INSTALLED= yes
+.endif
.if exists(${LOCALBASE}/lib/libecpg.6.0.1.dylib)
_PGSQL_VERSION_84_INSTALLED= yes
.endif
@@ -51,6 +54,9 @@ _PGSQL_VERSION_83_INSTALLED= yes
_PGSQL_VERSION_82_INSTALLED= yes
.endif
.else
+.if exists(${LOCALBASE}/lib/libecpg.so.6.0.2)
+_PGSQL_VERSION_90_INSTALLED= yes
+.endif
.if exists(${LOCALBASE}/lib/libecpg.so.6.0.1)
_PGSQL_VERSION_84_INSTALLED= yes
.endif
@@ -99,7 +105,10 @@ _PGSQL_VERSION= ${_PGSQL_VERSION_FIRSTACCEPTED}
#
# set variables for the version we decided to use:
#
-.if ${_PGSQL_VERSION} == "84"
+.if ${_PGSQL_VERSION} == "90"
+PGSQL_TYPE= postgresql90-client
+PGPKGSRCDIR= ../../databases/postgresql90-client
+.elif ${_PGSQL_VERSION} == "84"
PGSQL_TYPE= postgresql84-client
PGPKGSRCDIR= ../../databases/postgresql84-client
.elif ${_PGSQL_VERSION} == "83"