aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-plpython
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2006-12-06 16:47:28 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2006-12-06 16:47:28 +0000
commitae0d8f440c88d406aeda37b4d63cd43054514b37 (patch)
treec71d23946c1d2d4b5a64fef27b47009580a2024e /databases/postgresql-plpython
parent008ccfc70ec9f2e0229320a16134bb38841590dc (diff)
downloadports-ae0d8f440c88d406aeda37b4d63cd43054514b37.tar.gz
ports-ae0d8f440c88d406aeda37b4d63cd43054514b37.zip
More rubust regex to determine which version of postgresql that is
already installed.
Notes
Notes: svn path=/head/; revision=179045
Diffstat (limited to 'databases/postgresql-plpython')
-rw-r--r--databases/postgresql-plpython/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql-plpython/Makefile b/databases/postgresql-plpython/Makefile
index 1acfa39b6e2a..d91a17955537 100644
--- a/databases/postgresql-plpython/Makefile
+++ b/databases/postgresql-plpython/Makefile
@@ -26,7 +26,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