svn commit: r337430 - head/Mk/Uses
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Dec 25 16:43:24 UTC 2013
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
More information about the svn-ports-head
mailing list