Date: Tue, 27 May 2014 10:55:40 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355485 - head/Mk/Uses Message-ID: <201405271055.s4RAtei7041208@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405271055.s4RAtei7041208>