aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.database.mk
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-10-29 21:15:46 +0800
committercrees <crees@FreeBSD.org>2012-10-29 21:15:46 +0800
commit592f3e76a7530260814a0882b24711e0aeb59af4 (patch)
tree3f9f11039fdcb8992940c9d5dc2472443b69fab8 /Mk/bsd.database.mk
parent695f9c8a9fe8d52c9a5d80fbfe1c07c7eca33261 (diff)
downloadfreebsd-ports-gnome-592f3e76a7530260814a0882b24711e0aeb59af4.tar.gz
freebsd-ports-gnome-592f3e76a7530260814a0882b24711e0aeb59af4.tar.zst
freebsd-ports-gnome-592f3e76a7530260814a0882b24711e0aeb59af4.zip
Choose best fit version of PostgreSQL if there is none installed.
Feature safe: yes
Diffstat (limited to 'Mk/bsd.database.mk')
-rw-r--r--Mk/bsd.database.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk
index 1c720748b46a..b858067b6f14 100644
--- a/Mk/bsd.database.mk
+++ b/Mk/bsd.database.mk
@@ -217,7 +217,7 @@ PGSQL_VER= ${version}
. endif
PGSQL_VER?= ${version}
. endfor
-. if empty(PGSQL_VER)
+. if defined(WITH_PGSQL_VER) && ${WITH_PGSQL_VER} != ${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
. endif
. endif