summaryrefslogtreecommitdiff
path: root/databases/postgresql-pltcl
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2006-12-08 10:41:40 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2006-12-08 10:41:40 +0000
commitebe02a38b2801ff05bcb0062e4fefed7605333be (patch)
tree87b8595377f342a05e8c80bb2321a86918390bd3 /databases/postgresql-pltcl
parent- Update f-prot to 4.6.7. (diff)
More rubust regex to determine which version of postgresql that is
already installed. Reported by: Kostik Belousov PR: 106472
Notes
Notes: svn path=/head/; revision=179171
Diffstat (limited to 'databases/postgresql-pltcl')
-rw-r--r--databases/postgresql-pltcl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql-pltcl/Makefile b/databases/postgresql-pltcl/Makefile
index 6da2bd8a9ff7..e2441f92e965 100644
--- a/databases/postgresql-pltcl/Makefile
+++ b/databases/postgresql-pltcl/Makefile
@@ -27,7 +27,7 @@ SED?= /usr/bin/sed
# Setting/finding PostgreSQL version we want.
.if exists(${LOCALBASE}/bin/postmaster)
-PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
+PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
.elif exists(${LOCALBASE}/bin/pg_config)
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
.else