pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Added postgresql83



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a472e0af3888
branches:  trunk
changeset: 539372:a472e0af3888
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Mar 04 12:50:25 2008 +0000

description:
Added postgresql83

diffstat:

 databases/Makefile     |   9 ++++++++-
 mk/pgsql.buildlink3.mk |  15 ++++++++++++---
 2 files changed, 20 insertions(+), 4 deletions(-)

diffs (73 lines):

diff -r dddc892ba521 -r a472e0af3888 databases/Makefile
--- a/databases/Makefile        Tue Mar 04 12:46:18 2008 +0000
+++ b/databases/Makefile        Tue Mar 04 12:50:25 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.237 2007/12/04 00:35:28 grant Exp $
+# $NetBSD: Makefile,v 1.238 2008/03/04 12:51:11 adam Exp $
 #
 
 COMMENT=       Databases
@@ -154,6 +154,13 @@
 SUBDIR+=       postgresql82-pltcl
 SUBDIR+=       postgresql82-server
 SUBDIR+=       postgresql82-tsearch2
+SUBDIR+=       postgresql83
+SUBDIR+=       postgresql83-adminpack
+SUBDIR+=       postgresql83-client
+SUBDIR+=       postgresql83-plperl
+SUBDIR+=       postgresql83-plpython
+SUBDIR+=       postgresql83-pltcl
+SUBDIR+=       postgresql83-server
 SUBDIR+=       pxtools
 SUBDIR+=       py-IndexedCatalog
 SUBDIR+=       py-PgSQL
diff -r dddc892ba521 -r a472e0af3888 mk/pgsql.buildlink3.mk
--- a/mk/pgsql.buildlink3.mk    Tue Mar 04 12:46:18 2008 +0000
+++ b/mk/pgsql.buildlink3.mk    Tue Mar 04 12:50:25 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pgsql.buildlink3.mk,v 1.23 2007/06/06 12:40:05 rillig Exp $
+# $NetBSD: pgsql.buildlink3.mk,v 1.24 2008/03/04 12:50:25 adam Exp $
 #
 # User-settable variables:
 #
@@ -26,7 +26,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 PGSQL_VERSION_DEFAULT?=                81
-PGSQL_VERSIONS_ACCEPTED?=      82 81 80
+PGSQL_VERSIONS_ACCEPTED?=      83 82 81 80
 
 # transform the list into individual variables
 .for pv in ${PGSQL_VERSIONS_ACCEPTED}
@@ -41,6 +41,9 @@
 
 # check what is installed
 .if ${OPSYS} == "Darwin"
+.if exists(${LOCALBASE}/lib/libecpg.6.0.0.dylib)
+_PGSQL_VERSION_83_INSTALLED=   yes
+.endif
 .if exists(${LOCALBASE}/lib/libecpg.5.0.2.dylib)
 _PGSQL_VERSION_82_INSTALLED=   yes
 .endif
@@ -57,6 +60,9 @@
 _PGSQL_VERSION_73_INSTALLED=yes
 .endif
 .else
+.if exists(${LOCALBASE}/lib/libecpg.so.6.0.0)
+_PGSQL_VERSION_83_INSTALLED=   yes
+.endif
 .if exists(${LOCALBASE}/lib/libecpg.so.5.0.2)
 _PGSQL_VERSION_82_INSTALLED=   yes
 .endif
@@ -111,7 +117,10 @@
 #
 # set variables for the version we decided to use:
 #
-.if ${_PGSQL_VERSION} == "82"
+.if ${_PGSQL_VERSION} == "83"
+PGSQL_TYPE=    postgresql83-client
+PGPKGSRCDIR=   ../../databases/postgresql83-client
+.elif ${_PGSQL_VERSION} == "82"
 PGSQL_TYPE=    postgresql82-client
 PGPKGSRCDIR=   ../../databases/postgresql82-client
 .elif ${_PGSQL_VERSION} == "81"



Home | Main Index | Thread Index | Old Index