aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.database.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk
index 75f9016aba1f..abf3383ab9b0 100644
--- a/Mk/bsd.database.mk
+++ b/Mk/bsd.database.mk
@@ -212,9 +212,10 @@ _WANT_PGSQL_VER?= ${WANT_PGSQL_VER}
. if ${WITH_PGSQL_VER} == ${version}
PGSQL_VER= ${WITH_PGSQL_VER}
. endif
-. else
+. elif ${DEFAULT_PGSQL_VER} == ${version}
PGSQL_VER= ${version}
. endif
+PGSQL_VER?= ${version}
. endfor
. if empty(PGSQL_VER)
IGNORE?= cannot install: the port wants postgresql-client version ${WANT_PGSQL_VER} and you have version ${WITH_PGSQL_VER} installed or set in make.conf