svn commit: r355485 - head/Mk/Uses
Baptiste Daroussin
bapt at FreeBSD.org
Tue May 27 10:55:40 UTC 2014
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
More information about the svn-ports-all
mailing list