diff options
author | riastradh <riastradh@pkgsrc.org> | 2013-05-12 17:19:41 +0000 |
---|---|---|
committer | riastradh <riastradh@pkgsrc.org> | 2013-05-12 17:19:41 +0000 |
commit | d09d7aef3f9494cfc9f34ab7a7fa5dd3fb69e5a7 (patch) | |
tree | 1aaf7df19518c01daf234a9907631b3dad399956 /mk | |
parent | 86c917dcb2460a5469207aec6b7ae33512759386 (diff) | |
download | pkgsrc-d09d7aef3f9494cfc9f34ab7a7fa5dd3fb69e5a7.tar.gz |
Strip minus for warning about disabling unsupported options.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.options.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.options.mk b/mk/bsd.options.mk index 3e36fb2fe1b..0fc86cb8aa3 100644 --- a/mk/bsd.options.mk +++ b/mk/bsd.options.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.options.mk,v 1.69 2013/05/12 05:13:38 obache Exp $ +# $NetBSD: bsd.options.mk,v 1.70 2013/05/12 17:19:41 riastradh Exp $ # # This Makefile fragment provides boilerplate code for standard naming # conventions for handling per-package build options. @@ -288,7 +288,7 @@ _opt_:= -${_popt_} . if empty(_opt_:M-*) _OPTIONS_UNSUPPORTED:=${_OPTIONS_UNSUPPORTED} ${_opt_} . else -PKG_OPTIONS_DEPRECATED_WARNINGS:=${PKG_OPTIONS_DEPRECATED_WARNINGS} "Option "${_opt_:Q}" is unsupported, so disabling it has no effect." +PKG_OPTIONS_DEPRECATED_WARNINGS:=${PKG_OPTIONS_DEPRECATED_WARNINGS} "Option "${_opt_:C/^-//:Q}" is unsupported, so disabling it has no effect." . endif . else . if defined(_PKG_OPTIONS_GROUP_MAP.${_popt_}) |