Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 09:30:23 +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: r332674 - head/Mk/Uses
Message-ID:  <201311040930.rA49UNCg097725@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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