diff options
author | adam <adam@pkgsrc.org> | 2012-10-05 21:09:02 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2012-10-05 21:09:02 +0000 |
commit | fa70c428b374843350f583aa3f7aa84b73eece53 (patch) | |
tree | 2bb71907b1a86c1104f42906957116417b2f9a32 /mk | |
parent | 1eaecc91a6487eb01ff8834fabc93e1effa5c79c (diff) | |
download | pkgsrc-fa70c428b374843350f583aa3f7aa84b73eece53.tar.gz |
Added databases/postgresql92 version 9.2.1
Diffstat (limited to 'mk')
-rw-r--r-- | mk/pgsql.buildlink3.mk | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/mk/pgsql.buildlink3.mk b/mk/pgsql.buildlink3.mk index d6c0707fc5f..224b72ba7a8 100644 --- a/mk/pgsql.buildlink3.mk +++ b/mk/pgsql.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: pgsql.buildlink3.mk,v 1.33 2012/08/02 03:53:19 asau Exp $ +# $NetBSD: pgsql.buildlink3.mk,v 1.34 2012/10/05 21:09:02 adam Exp $ # # User-settable variables: # @@ -13,7 +13,6 @@ # PG_LIB_EXT # PGSQL_TYPE # PGPKGSRCDIR -# .if !defined(PGVERSION_MK) PGVERSION_MK= defined @@ -26,7 +25,7 @@ _SYS_VARS.pgsql= PG_LIB_EXT PGSQL_TYPE PGPKGSRCDIR .include "../../mk/bsd.prefs.mk" PGSQL_VERSION_DEFAULT?= 91 -PGSQL_VERSIONS_ACCEPTED?= 91 90 84 83 +PGSQL_VERSIONS_ACCEPTED?= 92 91 90 84 83 # transform the list into individual variables .for pv in ${PGSQL_VERSIONS_ACCEPTED} @@ -41,6 +40,9 @@ PG_LIB_EXT=so # check what is installed .if ${OPSYS} == "Darwin" +. if exists(${LOCALBASE}/lib/libecpg.6.4.dylib) +_PGSQL_VERSION_92_INSTALLED= yes +. endif . if exists(${LOCALBASE}/lib/libecpg.6.3.dylib) _PGSQL_VERSION_91_INSTALLED= yes . endif @@ -54,6 +56,9 @@ _PGSQL_VERSION_84_INSTALLED= yes _PGSQL_VERSION_83_INSTALLED= yes . endif .else +. if exists(${LOCALBASE}/lib/libecpg.so.6.4) +_PGSQL_VERSION_92_INSTALLED= yes +. endif . if exists(${LOCALBASE}/lib/libecpg.so.6.3) _PGSQL_VERSION_91_INSTALLED= yes . endif @@ -105,7 +110,10 @@ _PGSQL_VERSION= ${_PGSQL_VERSION_FIRSTACCEPTED} # # set variables for the version we decided to use: # -.if ${_PGSQL_VERSION} == "91" +.if ${_PGSQL_VERSION} == "92" +PGSQL_TYPE= postgresql92-client +PGPKGSRCDIR= ../../databases/postgresql92-client +.elif ${_PGSQL_VERSION} == "91" PGSQL_TYPE= postgresql91-client PGPKGSRCDIR= ../../databases/postgresql91-client .elif ${_PGSQL_VERSION} == "90" |