diff options
author | adam <adam> | 2015-01-14 21:01:18 +0000 |
---|---|---|
committer | adam <adam> | 2015-01-14 21:01:18 +0000 |
commit | 4975f96183b63cd1e33e0ab45898f9c04831458f (patch) | |
tree | acc80a00beba0935a731a700da40eae21a90094c /mk/pgsql.buildlink3.mk | |
parent | ec5cd254c7eec5bfb8d589f673e968b86f65a36f (diff) | |
download | pkgsrc-4975f96183b63cd1e33e0ab45898f9c04831458f.tar.gz |
PostgreSQL 9.4.0:
This release adds many new features which enhance PostgreSQL's flexibility, scalability and performance for many different types of database users, including improvements to JSON support, replication and index performance.
Diffstat (limited to 'mk/pgsql.buildlink3.mk')
-rw-r--r-- | mk/pgsql.buildlink3.mk | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/mk/pgsql.buildlink3.mk b/mk/pgsql.buildlink3.mk index da6f0d21d57..7c5a2853e5c 100644 --- a/mk/pgsql.buildlink3.mk +++ b/mk/pgsql.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: pgsql.buildlink3.mk,v 1.37 2014/06/10 14:21:37 joerg Exp $ +# $NetBSD: pgsql.buildlink3.mk,v 1.38 2015/01/14 21:01:18 adam Exp $ # # User-settable variables: # @@ -25,7 +25,7 @@ _SYS_VARS.pgsql= PG_LIB_EXT PGSQL_TYPE PGPKGSRCDIR .include "../../mk/bsd.prefs.mk" PGSQL_VERSION_DEFAULT?= 93 -PGSQL_VERSIONS_ACCEPTED?= 93 92 91 90 84 +PGSQL_VERSIONS_ACCEPTED?= 94 93 92 91 90 84 # transform the list into individual variables .for pv in ${PGSQL_VERSIONS_ACCEPTED} @@ -40,6 +40,9 @@ PG_LIB_EXT=so # check what is installed .if ${OPSYS} == "Darwin" +. if exists(${LOCALBASE}/lib/libecpg.6.6.dylib) +_PGSQL_VERSION_94_INSTALLED= yes +. endif . if exists(${LOCALBASE}/lib/libecpg.6.5.dylib) _PGSQL_VERSION_93_INSTALLED= yes . endif @@ -56,6 +59,9 @@ _PGSQL_VERSION_90_INSTALLED= yes _PGSQL_VERSION_84_INSTALLED= yes . endif .else +. if exists(${LOCALBASE}/lib/libecpg.so.6.6) +_PGSQL_VERSION_94_INSTALLED= yes +. endif . if exists(${LOCALBASE}/lib/libecpg.so.6.5) _PGSQL_VERSION_93_INSTALLED= yes . endif @@ -108,7 +114,10 @@ _PGSQL_VERSION= ${_PGSQL_VERSION_FIRSTACCEPTED} .endif # set variables for the version we decided to use: -.if ${_PGSQL_VERSION} == "93" +.if ${_PGSQL_VERSION} == "94" +PGSQL_TYPE= postgresql94-client +PGPKGSRCDIR= ../../databases/postgresql94-client +.elif ${_PGSQL_VERSION} == "93" PGSQL_TYPE= postgresql93-client PGPKGSRCDIR= ../../databases/postgresql93-client .elif ${_PGSQL_VERSION} == "92" |