From 67fe5477a28499d3ac339e588c46e0a677954b3a Mon Sep 17 00:00:00 2001 From: crees Date: Mon, 25 Aug 2014 17:53:26 +0000 Subject: Convert pgsql ports to use USES+=pgsql Reviewed by: bapt --- Mk/Uses/pgsql.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Mk') diff --git a/Mk/Uses/pgsql.mk b/Mk/Uses/pgsql.mk index 457d37a8d924..3cae60155002 100644 --- a/Mk/Uses/pgsql.mk +++ b/Mk/Uses/pgsql.mk @@ -64,13 +64,13 @@ _PGSQL_VER!= ${PG_CONFIG} --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9] . if defined(pgsql_ARGS) . if ${pgsql_ARGS:M*+} . for version in ${VALID_PGSQL_VER} -. if ${pgsql_ARGS:S/+//} <= ${version:S/.//} +. if ${pgsql_ARGS:S/+//} <= ${version} _WANT_PGSQL_VER+=${version} . endif . endfor . elif ${pgsql_ARGS:M*-} . for version in ${VALID_PGSQL_VER} -. if ${pgsql_ARGS:S/-//} >= ${version:S/.//} +. if ${pgsql_ARGS:S/-//} >= ${version} _WANT_PGSQL_VER+=${version} . endif . endfor -- cgit