Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2016 12:09:39 +0000 (UTC)
From:      Max Khon <fjoe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411273 - head/Mk/Uses
Message-ID:  <201603171209.u2HC9dxA093270@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fjoe
Date: Thu Mar 17 12:09:39 2016
New Revision: 411273
URL: https://svnweb.freebsd.org/changeset/ports/411273

Log:
  Fix installed version check on FreeBSD 9.
  
  PR:		200569

Modified:
  head/Mk/Uses/pgsql.mk

Modified: head/Mk/Uses/pgsql.mk
==============================================================================
--- head/Mk/Uses/pgsql.mk	Thu Mar 17 11:35:35 2016	(r411272)
+++ head/Mk/Uses/pgsql.mk	Thu Mar 17 12:09:39 2016	(r411273)
@@ -93,8 +93,12 @@ PGSQL_VER=	${version}
 .      endif
 PGSQL_VER?=	${version}
 .    endfor
-.    if defined(_PGSQL_VER) && ${_WANT_PGSQL_VER:M${_PGSQL_VER}} == ${_PGSQL_VER}
+.    if defined(_PGSQL_VER)
+.      for v in ${_PGSQL_VER}
+.        if ${_WANT_PGSQL_VER:M$v} == ${_PGSQL_VER}
 PGSQL_VER=	${_PGSQL_VER}
+.        endif
+.      endfor
 .    endif
 .    if defined(_PGSQL_VER) && ${_PGSQL_VER} != ${PGSQL_VER}
 IGNORE?=	cannot install: the port wants postgresql-client version ${_WANT_PGSQL_VER} and you have version ${_PGSQL_VER} installed



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603171209.u2HC9dxA093270>