git: c580a81e15c8 - main - Mk/bsd.port.mk: use the WARNING framework to reduce the spam
Baptiste Daroussin
bapt at FreeBSD.org
Thu Jul 22 12:34:21 UTC 2021
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c580a81e15c8d2592e7cc15c06e21179b44c7973
commit c580a81e15c8d2592e7cc15c06e21179b44c7973
Author: Baptiste Daroussin <bapt at FreeBSD.org>
AuthorDate: 2021-07-22 12:29:22 +0000
Commit: Baptiste Daroussin <bapt at FreeBSD.org>
CommitDate: 2021-07-22 12:33:36 +0000
Mk/bsd.port.mk: use the WARNING framework to reduce the spam
---
Mk/bsd.port.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 76011a6e5f09..858f3ba80271 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1216,7 +1216,7 @@ _PKG_BEFORE_PKGEXT!= ${PKG_BIN} version -t ${_PKG_VERSION:C/-.*//g} 1.17.0
.if ${_PKG_BEFORE_PKGEXT} == "<"
_PKG_TRANSITIONING_TO_NEW_EXT= yes
_EXPORTED_VARS+= _PKG_TRANSITIONING_TO_NEW_EXT
-.warning "It is strongly recommended to upgrade to a newer version of pkg first"
+WARNING+= "It is strongly recommended to upgrade to a newer version of pkg first"
.endif
# XXX End of hack
_PKG_STATUS!= ${PKG_BIN} version -t ${_PKG_VERSION:C/-.*//g} ${MINIMAL_PKG_VERSION}
@@ -2246,7 +2246,7 @@ PKG_COMPRESSION_FORMAT?= ${PKG_SUFX:S/.//}
.else
.if defined(PKG_SUFX)
PKG_COMPRESSION_FORMAT?= ${PKG_SUFX:S/.//}
-.warning PKG_SUFX is defined, it should be replaced with PKG_COMPRESSION_FORMAT
+WARNING+= "PKG_SUFX is defined, if should be replaced with PKG_COMPRESSION_FORMAT"
.endif
PKG_SUFX= .pkg
.endif
More information about the dev-commits-ports-all
mailing list