diff options
author | rillig <rillig@pkgsrc.org> | 2020-05-03 18:45:28 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-05-03 18:45:28 +0000 |
commit | fe142b387ef4c0cc37c76a0255bf280842ad152d (patch) | |
tree | 666bfd6128e056538d543571d33a1d9c267c5d4f /mk | |
parent | 081d6b7045f82b60f4d52fdf569bbcdde3807fc5 (diff) | |
download | pkgsrc-fe142b387ef4c0cc37c76a0255bf280842ad152d.tar.gz |
mk/bsd.options.mk: make deprecated options more visible
Up to now, the generated warnings were not prefixed with anything.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.options.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/bsd.options.mk b/mk/bsd.options.mk index 5ff5acc12d1..d0abd4078a9 100644 --- a/mk/bsd.options.mk +++ b/mk/bsd.options.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.options.mk,v 1.75 2020/05/03 10:10:05 rillig Exp $ +# $NetBSD: bsd.options.mk,v 1.76 2020/05/03 18:45:28 rillig Exp $ # # This Makefile fragment provides boilerplate code for standard naming # conventions for handling per-package build options. @@ -427,7 +427,7 @@ show-options: @set args ${PKG_OPTIONS_DEPRECATED_WARNINGS}; shift; \ [ $$# -eq 0 ] || ${ECHO}; \ for l in "$$@"; do \ - ${ECHO} "$$l"; \ + ${ERROR_MSG} "$$l"; \ done .if defined(PKG_SUPPORTED_OPTIONS) @@ -454,13 +454,13 @@ supported-options-message: . else @${ECHO} " ${PKG_OPTIONS_VAR} = "${${PKG_OPTIONS_VAR}:Q} . endif + @${ECHO} "" + @${ECHO} "==========================================================================" @set args ${PKG_OPTIONS_DEPRECATED_WARNINGS}; shift; \ [ $$# -eq 0 ] || ${ECHO}; \ for l in "$$@"; do \ - ${ECHO} "$$l"; \ + ${ERROR_MSG} "$$l"; \ done - @${ECHO} "" - @${ECHO} "==========================================================================" . endif .endif |