Date: Mon, 24 Feb 2014 17:36:15 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r345884 - head/Mk Message-ID: <201402241736.s1OHaFCN030841@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Mon Feb 24 17:36:15 2014 New Revision: 345884 URL: http://svnweb.freebsd.org/changeset/ports/345884 QAT: https://qat.redports.org/buildarchive/r345884/ Log: Add a new flag QUIET to make targets quiet, currently only 'checkpatch' Approved by: portmgr (bapt) Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Mon Feb 24 17:34:46 2014 (r345883) +++ head/Mk/bsd.port.mk Mon Feb 24 17:36:15 2014 (r345884) @@ -2155,6 +2155,9 @@ PATCH_DEBUG_TMP= no PATCH_ARGS?= -d ${PATCH_WRKSRC} --forward --quiet -E ${PATCH_STRIP} PATCH_DIST_ARGS?= --suffix ${DISTORIG} -d ${PATCH_WRKSRC} --forward --quiet -E ${PATCH_DIST_STRIP} .endif +.if !defined(QUIET) +PATCH_SILENT= PATCH_SILENT=yes +.endif .if defined(BATCH) PATCH_ARGS+= --batch PATCH_DIST_ARGS+= --batch @@ -3560,7 +3563,7 @@ do-patch: PATCHES_APPLIED="$$PATCHES_APPLIED $$i" ; \ else \ ${ECHO_MSG} `${ECHO_CMD} "=> Patch $$i failed to apply cleanly." | ${SED} "s|${PATCHDIR}/||"` ; \ - if [ x"$$PATCHES_APPLIED" != x"" ]; then \ + if [ x"$$PATCHES_APPLIED" != x"" -a ${PATCH_SILENT} != "yes" ]; then \ ${ECHO_MSG} `${ECHO_CMD} "=> Patch(es) $$PATCHES_APPLIED applied cleanly." | ${SED} "s|${PATCHDIR}/||g"` ; \ fi; \ ${FALSE} ; \ @@ -4283,7 +4286,7 @@ pretty-print-www-site: .if !target(checkpatch) checkpatch: - @cd ${.CURDIR} && ${MAKE} PATCH_CHECK_ONLY=yes ${_PATCH_DEP} ${_PATCH_REAL_SEQ} + @cd ${.CURDIR} && ${MAKE} ${PATCH_SILENT} PATCH_CHECK_ONLY=yes ${_PATCH_DEP} ${_PATCH_REAL_SEQ} .endif # Reinstall
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402241736.s1OHaFCN030841>