pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun May  3 18:45:28 UTC 2020

Modified Files:
        pkgsrc/mk: bsd.options.mk

Log Message:
mk/bsd.options.mk: make deprecated options more visible

Up to now, the generated warnings were not prefixed with anything.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/mk/bsd.options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/bsd.options.mk
diff -u pkgsrc/mk/bsd.options.mk:1.75 pkgsrc/mk/bsd.options.mk:1.76
--- pkgsrc/mk/bsd.options.mk:1.75       Sun May  3 10:10:05 2020
+++ pkgsrc/mk/bsd.options.mk    Sun May  3 18:45:28 2020
@@ -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
 



Home | Main Index | Thread Index | Old Index