aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorgirgen <girgen@FreeBSD.org>2017-08-11 04:25:17 +0800
committergirgen <girgen@FreeBSD.org>2017-08-11 04:25:17 +0800
commitefa4e8438b0a40d4c655c649c490ef8cc0316f79 (patch)
tree0e2e33ffb2bd0a4b88a951164bee884a9540126a /Mk/Uses
parent2721500e0db3042e9e3e3b57085e8142a668d1d3 (diff)
downloadfreebsd-ports-gnome-efa4e8438b0a40d4c655c649c490ef8cc0316f79.tar.gz
freebsd-ports-gnome-efa4e8438b0a40d4c655c649c490ef8cc0316f79.tar.zst
freebsd-ports-gnome-efa4e8438b0a40d4c655c649c490ef8cc0316f79.zip
Add PostgreSQL-10 to the ports tree
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/pgsql.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/Uses/pgsql.mk b/Mk/Uses/pgsql.mk
index 043a39065535..d49e2e279f67 100644
--- a/Mk/Uses/pgsql.mk
+++ b/Mk/Uses/pgsql.mk
@@ -33,7 +33,7 @@ _INCLUDE_USES_PGSQL_MK= yes
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
-VALID_PGSQL_VER= 9.2 9.3 9.4 9.5 9.6
+VALID_PGSQL_VER= 9.2 9.3 9.4 9.5 9.6 10
# Override non-default LIBVERS like this:
#PGSQL99_LIBVER=6
@@ -57,13 +57,13 @@ PGSQL_DEFAULT?= ${$w_PGSQL_VER:C,^.,&.,}
. endfor
. ifdef DEFAULT_PGSQL_VER && WITH_PGSQL_VER
-IGNORE= will not allow setting both DEFAULT_PGSQL_VER and WITH_PGSQL_VER. Use DEFAULT_VERSIONS=pgsql=9.0 instead
+IGNORE= will not allow setting both DEFAULT_PGSQL_VER and WITH_PGSQL_VER. Use DEFAULT_VERSIONS=pgsql=9.6 instead
. endif
# Setting/finding PostgreSQL version we want.
PG_CONFIG?= ${LOCALBASE}/bin/pg_config
. if exists(${PG_CONFIG})
-_PGSQL_VER!= ${PG_CONFIG} --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\.[0-9][0-9]*\)[^0-9].*/\1/p'
+_PGSQL_VER!= ${PG_CONFIG} --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9]\.*[0-9]\).*/\1/p'
. endif
# Handle the + and - version stuff