aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-11-04 09:30:22 +0000
committerRene Ladan <rene@FreeBSD.org>2013-11-04 09:30:22 +0000
commitc61a61be20c35fbe85a0b61877e6658c399a6cfd (patch)
tree5b64406211c1cc28cce0af30ec91a7be678c567f /Mk/Uses
parent604b1dfaa8301c78d5b308b05d4df57463745d80 (diff)
downloadports-c61a61be20c35fbe85a0b61877e6658c399a6cfd.tar.gz
ports-c61a61be20c35fbe85a0b61877e6658c399a6cfd.zip
Using stage does not magically enforce the use of sane package tools, so
always use the "@unexec rmdir" form in TMPPLIST. @dirrmtry lines are substituted with this in bsd.port.mk, but only when generating TMPPLIST. While here update the description in the header. Submitted by: QAT for commit r332642 (8.4-QAT/i386)
Notes
Notes: svn path=/head/; revision=332674
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/kmod.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/Mk/Uses/kmod.mk b/Mk/Uses/kmod.mk
index 1a2db0ad3862..bb0cc92d2e6e 100644
--- a/Mk/Uses/kmod.mk
+++ b/Mk/Uses/kmod.mk
@@ -1,6 +1,6 @@
# $FreeBSD$
#
-# Handles dependency on kernel sources
+# Handles common items for kernel module ports.
#
# MAINTAINER: rene@FreeBSD.org
#
@@ -43,10 +43,8 @@ kmod-post-install:
${ECHO_CMD} "@exec /usr/sbin/kldxref ${KMODDIR}" >> ${TMPPLIST}
${ECHO_CMD} "@unexec /usr/sbin/kldxref ${KMODDIR}" >> ${TMPPLIST}
.if defined(NO_STAGE)
- ${ECHO_CMD} "@unexec rmdir ${KMODDIR} 2>/dev/null || true" >> ${TMPPLIST}
/usr/sbin/kldxref ${KMODDIR}
-.else
- ${ECHO_CMD} "@dirrmtry ${KMODDIR}" >> ${TMPPLIST}
.endif
+ ${ECHO_CMD} "@unexec rmdir ${KMODDIR} 2>/dev/null || true" >> ${TMPPLIST}
.endif