diff options
author | adam <adam@pkgsrc.org> | 2006-12-09 16:18:40 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2006-12-09 16:18:40 +0000 |
commit | b74bfb9e0f8e76c0ffb9e4fb619de3063e283fea (patch) | |
tree | 2c6c95a8a3e10020992040212daef93e435a56d1 /mk | |
parent | 1b3128868dafc9723a9df84c8184a6c71d00892b (diff) | |
download | pkgsrc-b74bfb9e0f8e76c0ffb9e4fb619de3063e283fea.tar.gz |
Added postgresql82 version 8.2.0
Diffstat (limited to 'mk')
-rw-r--r-- | mk/pgsql.buildlink3.mk | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mk/pgsql.buildlink3.mk b/mk/pgsql.buildlink3.mk index 7c85d8555b0..ec553fdb9dc 100644 --- a/mk/pgsql.buildlink3.mk +++ b/mk/pgsql.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: pgsql.buildlink3.mk,v 1.17 2006/10/18 20:48:58 rillig Exp $ +# $NetBSD: pgsql.buildlink3.mk,v 1.18 2006/12/09 16:18:55 adam Exp $ # # User-settable variables: # @@ -21,7 +21,7 @@ PGVERSION_MK= defined .include "../../mk/bsd.prefs.mk" PGSQL_VERSION_DEFAULT?= 80 -PGSQL_VERSIONS_ACCEPTED?= 81 80 74 +PGSQL_VERSIONS_ACCEPTED?= 82 81 80 74 # transform the list into individual variables .for pv in ${PGSQL_VERSIONS_ACCEPTED} @@ -46,6 +46,9 @@ _PGSQL_VERSION_74_INSTALLED= yes _PGSQL_VERSION_73_INSTALLED=yes .endif .else +.if exists(${LOCALBASE}/lib/libecpg.so.5.0.2) +_PGSQL_VERSION_82_INSTALLED= yes +.endif .if exists(${LOCALBASE}/lib/libecpg.so.5.0.1) _PGSQL_VERSION_81_INSTALLED= yes .endif @@ -97,7 +100,10 @@ _PGSQL_VERSION= ${_PGSQL_VERSION_FIRSTACCEPTED} # # set variables for the version we decided to use: # -.if ${_PGSQL_VERSION} == "81" +.if ${_PGSQL_VERSION} == "82" +PGSQL_TYPE= postgresql82-client +PGPKGSRCDIR= ../../databases/postgresql82-client +.elif ${_PGSQL_VERSION} == "81" PGSQL_TYPE= postgresql81-client PGPKGSRCDIR= ../../databases/postgresql81-client .elif ${_PGSQL_VERSION} == "80" |