aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.sanity.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-27 13:23:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-27 13:23:57 +0000
commit06168313aa0990a89cc13affee9fb5f7c594508a (patch)
tree4c5df8ea9142fd7b74d2c66b63176d0d739d3f51 /Mk/bsd.sanity.mk
parentf2b717c40135ef80ca800a77842dba2cef59c01b (diff)
downloadports-06168313aa0990a89cc13affee9fb5f7c594508a.tar.gz
ports-06168313aa0990a89cc13affee9fb5f7c594508a.zip
Fix showing warnings about usage of MAN* and MLINKS in bsd.sanity.mk
Reported by: matthew (at EuroBSDCon's devsummit)
Notes
Notes: svn path=/head/; revision=328466
Diffstat (limited to 'Mk/bsd.sanity.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 20e619eb6bf0..7e2551351484 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)