Date: Sat, 21 Sep 2013 14:14:23 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327817 - head/Mk Message-ID: <201309211414.r8LEENw7047751@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Sep 21 14:14:23 2013 New Revision: 327817 URL: http://svnweb.freebsd.org/changeset/ports/327817 Log: - Add 2 settable variables - WARNING_WAIT: seconds to wait after warnings (default: 10) - DEV_WARNING_WAIT: seconds to wait after developer warnings (default: 10) Submitted by: sunpoet (myself) Approved by: portmgr (bapt) Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Sat Sep 21 14:02:45 2013 (r327816) +++ head/Mk/bsd.port.mk Sat Sep 21 14:14:23 2013 (r327817) @@ -6503,19 +6503,21 @@ install-license: .endif .if defined(WARNING) +WARNING_WAIT?= 10 show-warnings: @${ECHO_MSG} "/!\\ WARNING /!\\" .for m in ${WARNING} @${ECHO_MSG} "${m}" .endfor @${ECHO_MSG} - @sleep 10 + @sleep ${WARNING_WAIT} check-makefile:: show-warnings .endif .if defined(DEVELOPER) .if defined(DEV_WARNING) +DEV_WARNING_WAIT?= 10 show-dev-warnings: @${ECHO_MSG} "/!\\ ${PKGNAME}: Makefile warnings, please consider fixing /!\\" @${ECHO_MSG} @@ -6523,7 +6525,7 @@ show-dev-warnings: @${ECHO_MSG} "${m}" .endfor @${ECHO_MSG} - @sleep 10 + @sleep ${DEV_WARNING_WAIT} check-makefile:: show-dev-warnings .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309211414.r8LEENw7047751>