aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2014-08-26 01:53:26 +0800
committercrees <crees@FreeBSD.org>2014-08-26 01:53:26 +0800
commit67fe5477a28499d3ac339e588c46e0a677954b3a (patch)
treef4e1f058cc1522d75a823a40f2ba1399351fc840 /Mk
parent3c2da50d38d2c27156c046e4b47e079b191a0e76 (diff)
downloadfreebsd-ports-gnome-67fe5477a28499d3ac339e588c46e0a677954b3a.tar.gz
freebsd-ports-gnome-67fe5477a28499d3ac339e588c46e0a677954b3a.tar.zst
freebsd-ports-gnome-67fe5477a28499d3ac339e588c46e0a677954b3a.zip
Convert pgsql ports to use USES+=pgsql
Reviewed by: bapt
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/pgsql.mk4
1 files changed, 2 insertions, 2 deletions
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