Lines 84-100
Link Here
|
84 |
_WANT_PGSQL_VER?= ${pgsql_ARGS} |
84 |
_WANT_PGSQL_VER?= ${pgsql_ARGS} |
85 |
. endif |
85 |
. endif |
86 |
|
86 |
|
87 |
# Try to match default version, otherwise just take the first version |
87 |
# Try to match installed version, then default version, |
88 |
# that matches |
88 |
# otherwise just take the first version that matches |
89 |
. if !empty(_WANT_PGSQL_VER) |
89 |
. if !empty(_WANT_PGSQL_VER) |
90 |
. for version in ${_WANT_PGSQL_VER} |
90 |
. if defined(_PGSQL_VER) |
91 |
. if ${PGSQL_DEFAULT} == ${version} |
91 |
. for version in ${_WANT_PGSQL_VER} |
|
|
92 |
. if ${_PGSQL_VER} == ${version} |
92 |
PGSQL_VER= ${version} |
93 |
PGSQL_VER= ${version} |
|
|
94 |
. endif |
95 |
. endfor |
96 |
. if empty(PGSQL_VER) |
97 |
IGNORE?= cannot install: the port wants postgresql-client version ${_WANT_PGSQL_VER} and you have version ${_PGSQL_VER} installed |
93 |
. endif |
98 |
. endif |
|
|
99 |
. endif |
100 |
. if empty(PGSQL_VER) |
101 |
. for version in ${_WANT_PGSQL_VER} |
102 |
. if ${PGSQL_DEFAULT} == ${version} |
103 |
PGSQL_VER= ${version} |
104 |
. endif |
94 |
PGSQL_VER?= ${version} |
105 |
PGSQL_VER?= ${version} |
95 |
. endfor |
106 |
. endfor |
96 |
. if defined(_PGSQL_VER) && ${_PGSQL_VER} != ${PGSQL_VER} |
|
|
97 |
IGNORE?= cannot install: the port wants postgresql-client version ${_WANT_PGSQL_VER} and you have version ${_PGSQL_VER} installed |
98 |
. endif |
107 |
. endif |
99 |
. endif |
108 |
. endif |
100 |
|
109 |
|