diff options
author | crees <crees@FreeBSD.org> | 2012-03-15 04:35:00 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2012-03-15 04:35:00 +0800 |
commit | 605da16062f719abb6991edd0a91e4f8eee8868f (patch) | |
tree | da2f14b838e4927cdcd69a666d8c6e78a3728e4e /Mk | |
parent | c3ff1ed1798f40a2e5bc5935ef1868cfa2aa6f6b (diff) | |
download | freebsd-ports-gnome-605da16062f719abb6991edd0a91e4f8eee8868f.tar.gz freebsd-ports-gnome-605da16062f719abb6991edd0a91e4f8eee8868f.tar.zst freebsd-ports-gnome-605da16062f719abb6991edd0a91e4f8eee8868f.zip |
Fix version detection; choose default if WITH_PGSQL_VER is not defined
Feature safe: yes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.database.mk | 3 |
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 |