diff options
author | John Marino <marino@FreeBSD.org> | 2015-11-23 22:30:10 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-11-23 22:30:10 +0000 |
commit | 0349e409ec47571012dd5343c9f78f4b6196594f (patch) | |
tree | 8f4fe5fdaae10b6c4fcb8c248c6cbff62b593031 /devel/ada-util | |
parent | 7878a5ea8ec0c9cd14716839bcb59c51069d8406 (diff) | |
download | ports-0349e409ec47571012dd5343c9f78f4b6196594f.tar.gz ports-0349e409ec47571012dd5343c9f78f4b6196594f.zip |
devel/ada-util: Quiet down hardcoded loggers
Loggers are hardcoded for several packages at the INFO level which is
quite useless for things like spawning commands. It is too chatty!
Set the loggers to filter out everything up less than ERROR messages.
Notes
Notes:
svn path=/head/; revision=402335
Diffstat (limited to 'devel/ada-util')
-rw-r--r-- | devel/ada-util/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/ada-util/Makefile b/devel/ada-util/Makefile index 0e5b6d92d452..c097f9df34a4 100644 --- a/devel/ada-util/Makefile +++ b/devel/ada-util/Makefile @@ -3,6 +3,7 @@ PORTNAME= ada-util PORTVERSION= 1.8.0 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= marino@FreeBSD.org @@ -37,6 +38,20 @@ post-patch: @${REINPLACE_CMD} -e '/Content_Type/d' \ ${WRKSRC}/src/http/util-http-rest.adb + # Loggers are hardcoded for several packages at the INFO level + # which is quite useless for things like spawning commands. + # Set the loggers to filter out everything up less than ERROR + + @${REINPLACE_CMD} -e '/Loggers.Create/s|);|, Util.Log.ERROR_LEVEL);|'\ + ${WRKSRC}/src/http/aws/util-http-clients-web.adb \ + ${WRKSRC}/src/http/curl/util-http-clients-curl.adb \ + ${WRKSRC}/src/http/util-http-clients.adb \ + ${WRKSRC}/src/http/util-http-parts.adb \ + ${WRKSRC}/src/util-beans-factory.adb \ + ${WRKSRC}/src/util-processes.adb \ + ${WRKSRC}/src/util-properties-bundles.adb \ + ${WRKSRC}/src/xml/util-serialize-io-xml.adb + post-install: ${RM} -r ${STAGEDIR}${PREFIX}/lib/gnat/manifests |