aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.database.mk
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-03-14 20:35:00 +0000
committerChris Rees <crees@FreeBSD.org>2012-03-14 20:35:00 +0000
commitdc1b6b3b056aa21a28299622746f73df2f7739d3 (patch)
tree2445d3ec2c48e6fc000ac9b71bd589cb8faff6ba /Mk/bsd.database.mk
parent0efbf3d9ee8873b5bf678edd1cf51a701d78a9d9 (diff)
downloadports-dc1b6b3b056aa21a28299622746f73df2f7739d3.tar.gz
ports-dc1b6b3b056aa21a28299622746f73df2f7739d3.zip
Notes
Diffstat (limited to 'Mk/bsd.database.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