From owner-svn-ports-all@freebsd.org Thu Mar 17 12:09:40 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9BC2AD28C6; Thu, 17 Mar 2016 12:09:40 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 794EB1C40; Thu, 17 Mar 2016 12:09:40 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2HC9dI7093271; Thu, 17 Mar 2016 12:09:39 GMT (envelope-from fjoe@FreeBSD.org) Received: (from fjoe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2HC9dxA093270; Thu, 17 Mar 2016 12:09:39 GMT (envelope-from fjoe@FreeBSD.org) Message-Id: <201603171209.u2HC9dxA093270@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fjoe set sender to fjoe@FreeBSD.org using -f From: Max Khon Date: Thu, 17 Mar 2016 12:09:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411273 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2016 12:09:41 -0000 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