svn commit: r332674 - head/Mk/Uses
Rene Ladan
rene at FreeBSD.org
Mon Nov 4 09:30:23 UTC 2013
Author: rene
Date: Mon Nov 4 09:30:22 2013
New Revision: 332674
URL: http://svnweb.freebsd.org/changeset/ports/332674
Log:
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)
Modified:
head/Mk/Uses/kmod.mk
Modified: head/Mk/Uses/kmod.mk
==============================================================================
--- head/Mk/Uses/kmod.mk Mon Nov 4 08:57:06 2013 (r332673)
+++ head/Mk/Uses/kmod.mk Mon Nov 4 09:30:22 2013 (r332674)
@@ -1,6 +1,6 @@
# $FreeBSD$
#
-# Handles dependency on kernel sources
+# Handles common items for kernel module ports.
#
# MAINTAINER: rene at 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
More information about the svn-ports-head
mailing list