svn commit: r447720 - in head: Mk/Uses databases

Palle Girgensohn girgen at FreeBSD.org
Thu Aug 10 20:25:19 UTC 2017


Author: girgen
Date: Thu Aug 10 20:25:17 2017
New Revision: 447720
URL: https://svnweb.freebsd.org/changeset/ports/447720

Log:
  Add PostgreSQL-10 to the ports tree

Modified:
  head/Mk/Uses/pgsql.mk
  head/databases/Makefile

Modified: head/Mk/Uses/pgsql.mk
==============================================================================
--- head/Mk/Uses/pgsql.mk	Thu Aug 10 19:25:03 2017	(r447719)
+++ head/Mk/Uses/pgsql.mk	Thu Aug 10 20:25:17 2017	(r447720)
@@ -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

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Thu Aug 10 19:25:03 2017	(r447719)
+++ head/databases/Makefile	Thu Aug 10 20:25:17 2017	(r447720)
@@ -677,6 +677,14 @@
     SUBDIR += postgresql-repmgr2
     SUBDIR += postgresql-tds_fdw
     SUBDIR += postgresql-zhparser
+    SUBDIR += postgresql10-client
+    SUBDIR += postgresql10-contrib
+    SUBDIR += postgresql10-docs
+    SUBDIR += postgresql10-pgtcl
+    SUBDIR += postgresql10-plperl
+    SUBDIR += postgresql10-plpython
+    SUBDIR += postgresql10-pltcl
+    SUBDIR += postgresql10-server
     SUBDIR += postgresql92-client
     SUBDIR += postgresql92-contrib
     SUBDIR += postgresql92-docs


More information about the svn-ports-all mailing list