aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-27 21:23:57 +0800
committerbapt <bapt@FreeBSD.org>2013-09-27 21:23:57 +0800
commit23cdacb4ffb9cca2fd6ffe5fb4e447c17f31c47a (patch)
tree4c5df8ea9142fd7b74d2c66b63176d0d739d3f51 /Mk
parentf0f3ba5009958f08abdad832a58893e52d81c203 (diff)
downloadfreebsd-ports-graphics-23cdacb4ffb9cca2fd6ffe5fb4e447c17f31c47a.tar.gz
freebsd-ports-graphics-23cdacb4ffb9cca2fd6ffe5fb4e447c17f31c47a.tar.zst
freebsd-ports-graphics-23cdacb4ffb9cca2fd6ffe5fb4e447c17f31c47a.zip
Fix showing warnings about usage of MAN* and MLINKS in bsd.sanity.mk
Reported by: matthew (at EuroBSDCon's devsummit)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.sanity.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index 20e619eb6bf..7e255135148 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -100,12 +100,16 @@ DEV_WARNING+= "Please use the new format for LIB_DEPENDS, see handbook for detai
DEV_WARNING+= "USE_TCL and USE_TK are deprecated, please use USES=tcl or USES=tk"
.endif
-.if !defined(NO_STAGE) && defined(_MANPAGES)
-DEV_WARNING+= "MAN* macros are deprecated when using stage directory"
+.if !defined(NO_STAGE)
+.for a in 1 2 3 4 5 6 7 8 9 L N
+.if defined(MAN${a})
+DEV_WARNING+= "MAN${a} macros are deprecated when using stage directory"
+.endif
+.endfor
.endif
-.if !defined(NO_STAGE) && defined(_MLINKS)
-DEV_WARNING+= "MLINKS* macros are deprecated when using stage directory"
+.if !defined(NO_STAGE) && defined(MLINKS)
+DEV_WARNING+= "MLINKS macros are deprecated when using stage directory"
.endif
.if defined(_PREMKINCLUDED)