Lines 28-36
Link Here
|
28 |
|
28 |
|
29 |
# Setting/finding PostgreSQL version we want. |
29 |
# Setting/finding PostgreSQL version we want. |
30 |
.if exists(${LOCALBASE}/bin/postmaster) |
30 |
.if exists(${LOCALBASE}/bin/postmaster) |
31 |
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p' |
31 |
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1\2/p' |
32 |
.elif exists(${LOCALBASE}/bin/pg_config) |
32 |
.elif exists(${LOCALBASE}/bin/pg_config) |
33 |
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p' |
33 |
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1\2/p' |
34 |
.else |
34 |
.else |
35 |
PGSQL_VER= ${DEFAULT_PGSQL_VER} |
35 |
PGSQL_VER= ${DEFAULT_PGSQL_VER} |
36 |
.endif |
36 |
.endif |