Date: Fri, 27 Sep 2013 13:23:58 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328466 - head/Mk Message-ID: <201309271323.r8RDNwWL096651@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309271323.r8RDNwWL096651>