Fix installed version check on FreeBSD 9.

PR:		200569
This commit is contained in:
Max Khon 2016-03-17 12:09:39 +00:00
parent 93e39ac64c
commit 2c5ceb0c7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411273

View File

@ -93,8 +93,12 @@ PGSQL_VER= ${version}
. endif
PGSQL_VER?= ${version}
. endfor
. if defined(_PGSQL_VER) && ${_WANT_PGSQL_VER:M${_PGSQL_VER}} == ${_PGSQL_VER}
. if defined(_PGSQL_VER)
. for v in ${_PGSQL_VER}
. if ${_WANT_PGSQL_VER:M$v} == ${_PGSQL_VER}
PGSQL_VER= ${_PGSQL_VER}
. endif
. endfor
. endif
. if defined(_PGSQL_VER) && ${_PGSQL_VER} != ${PGSQL_VER}
IGNORE?= cannot install: the port wants postgresql-client version ${_WANT_PGSQL_VER} and you have version ${_PGSQL_VER} installed