Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2013 16:43:24 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337430 - head/Mk/Uses
Message-ID:  <201312251643.rBPGhOr0009949@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Dec 25 16:43:24 2013
New Revision: 337430
URL: http://svnweb.freebsd.org/changeset/ports/337430

Log:
  Traditionally, most (if not all) tamperings with ${TMPPLIST} were done
  silently within the ports (similar to extraction and patching phases).
  
  Recently introduced Mk/Uses/kmod.mk does some grunt work for pkg-plist,
  like @[un]exec /usr/sbin/kldxref ... stuff via ${ECHO_CMD}, which makes
  build logs less neat.  Mute them and MKDIR, remove an extra whitespace,
  and wrap one overly long line.
  
  Approved by:	rene

Modified:
  head/Mk/Uses/kmod.mk

Modified: head/Mk/Uses/kmod.mk
==============================================================================
--- head/Mk/Uses/kmod.mk	Wed Dec 25 16:24:37 2013	(r337429)
+++ head/Mk/Uses/kmod.mk	Wed Dec 25 16:43:24 2013	(r337430)
@@ -43,17 +43,18 @@ _INCLUDE_USES_KMOD_POST_MK=	yes
 .PHONY: kmod-post-install
 pre-install: ${STAGEDIR}${KMODDIR}
 ${STAGEDIR}${KMODDIR}:
-	${MKDIR} ${.TARGET}
+	@${MKDIR} ${.TARGET}
 
 post-install: kmod-post-install
 kmod-post-install:
-	${ECHO_CMD} "@exec /usr/sbin/kldxref ${KMODDIR}"  >> ${TMPPLIST}
-	${ECHO_CMD} "@unexec /usr/sbin/kldxref ${KMODDIR}" >> ${TMPPLIST}
+	@${ECHO_CMD} "@exec /usr/sbin/kldxref ${KMODDIR}" >> ${TMPPLIST}
+	@${ECHO_CMD} "@unexec /usr/sbin/kldxref ${KMODDIR}" >> ${TMPPLIST}
 .if defined(NO_STAGE)
 	/usr/sbin/kldxref ${KMODDIR}
 .endif
 .if ${KMODDIR} != /boot/modules
-	${ECHO_CMD} "@unexec rmdir ${KMODDIR} 2>/dev/null || true" >> ${TMPPLIST}
+	@${ECHO_CMD} "@unexec rmdir ${KMODDIR} 2>/dev/null || true" \
+		>> ${TMPPLIST}
 .endif
 
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312251643.rBPGhOr0009949>