summaryrefslogtreecommitdiff
path: root/databases/postgresql-plpython/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql-plpython/Makefile')
-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