summaryrefslogtreecommitdiff
path: root/databases/p5-postgresql-plperl/Makefile
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/p5-postgresql-plperl/Makefile
parent- Respect X11BASE (diff)
More rubust regex to determine which version of postgresql that is
already installed.
Notes
Notes: svn path=/head/; revision=179045
Diffstat (limited to 'databases/p5-postgresql-plperl/Makefile')
-rw-r--r--databases/p5-postgresql-plperl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/p5-postgresql-plperl/Makefile b/databases/p5-postgresql-plperl/Makefile
index f32cb1fdabf9..f523742d0c2a 100644
--- a/databases/p5-postgresql-plperl/Makefile
+++ b/databases/p5-postgresql-plperl/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