From owner-svn-ports-all@FreeBSD.ORG Tue May 27 10:55:40 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 85ACDA6A; Tue, 27 May 2014 10:55:40 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 7311D2B1C; Tue, 27 May 2014 10:55:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4RAtegM041209; Tue, 27 May 2014 10:55:40 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4RAtei7041208; Tue, 27 May 2014 10:55:40 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201405271055.s4RAtei7041208@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 27 May 2014 10:55:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355485 - 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.18 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: Tue, 27 May 2014 10:55:40 -0000 Author: bapt Date: Tue May 27 10:55:39 2014 New Revision: 355485 URL: http://svnweb.freebsd.org/changeset/ports/355485 QAT: https://qat.redports.org/buildarchive/r355485/ Log: Fix version comparison Modified: head/Mk/Uses/pgsql.mk Modified: head/Mk/Uses/pgsql.mk ============================================================================== --- head/Mk/Uses/pgsql.mk Tue May 27 10:54:20 2014 (r355484) +++ head/Mk/Uses/pgsql.mk Tue May 27 10:55:39 2014 (r355485) @@ -64,13 +64,13 @@ _PGSQL_VER!= ${PG_CONFIG} --version | ${ . if defined(pgsql_ARGS) . if ${pgsql_ARGS:M*+} . for version in ${VALID_PGSQL_VER} -. if ${pgsql_ARGS:S/+//} <= ${version} +. if ${pgsql_ARGS:S/+//} <= ${version:S/.//} _WANT_PGSQL_VER+=${version} . endif . endfor . elif ${pgsql_ARGS:M*-} . for version in ${VALID_PGSQL_VER} -. if ${pgsql_ARGS:S/-//} >= ${version} +. if ${pgsql_ARGS:S/-//} >= ${version:S/.//} _WANT_PGSQL_VER+=${version} . endif . endfor