svn commit: r328466 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Fri Sep 27 13:23:58 UTC 2013


Author: bapt
Date: Fri Sep 27 13:23:57 2013
New Revision: 328466
URL: http://svnweb.freebsd.org/changeset/ports/328466

Log:
  Fix showing warnings about usage of MAN* and MLINKS in bsd.sanity.mk
  
  Reported by:	matthew (at EuroBSDCon's devsummit)

Modified:
  head/Mk/bsd.sanity.mk

Modified: head/Mk/bsd.sanity.mk
==============================================================================
--- head/Mk/bsd.sanity.mk	Fri Sep 27 13:17:14 2013	(r328465)
+++ head/Mk/bsd.sanity.mk	Fri Sep 27 13:23:57 2013	(r328466)
@@ -100,12 +100,16 @@ DEV_WARNING+=	"Please use the new format
 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)


More information about the svn-ports-head mailing list