svn commit: r367065 - head/Mk/Uses
Chris Rees
crees at FreeBSD.org
Tue Sep 2 17:53:59 UTC 2014
Author: crees
Date: Tue Sep 2 17:53:59 2014
New Revision: 367065
URL: http://svnweb.freebsd.org/changeset/ports/367065
QAT: https://qat.redports.org/buildarchive/r367065/
Log:
Complain properly about invalid pgsql default versions.
Please remember you need the period; 9.0 9.1 good, 90 bad, 90+ very bad!
Modified:
head/Mk/Uses/pgsql.mk
Modified: head/Mk/Uses/pgsql.mk
==============================================================================
--- head/Mk/Uses/pgsql.mk Tue Sep 2 17:52:37 2014 (r367064)
+++ head/Mk/Uses/pgsql.mk Tue Sep 2 17:53:59 2014 (r367065)
@@ -43,6 +43,12 @@ PGSQL$v_LIBVER?= ${PGSQL_LIBVER}
.include "${PORTSDIR}/Mk/bsd.default-versions.mk"
+.for v in ${PGSQL_DEFAULT}
+. if ! ${VALID_PGSQL_VER:M$v}
+IGNORE= Invalid PGSQL default version ${PGSQL_DEFAULT}; valid versions are ${VALID_PGSQL_VER}
+. endif
+.endfor
+
. for w in WITH DEFAULT
. ifdef $w_PGSQL_VER
WARNING+= "$w_PGSQL_VER is defined, consider using DEFAULT_VERSIONS=pgsql=${$w_PGSQL_VER:C,^.,&.,} instead"
More information about the svn-ports-head
mailing list