svn commit: r340942 - head/Mk/Uses
Rene Ladan
rene at FreeBSD.org
Fri Jan 24 23:08:18 UTC 2014
Author: rene
Date: Fri Jan 24 23:08:17 2014
New Revision: 340942
URL: http://svnweb.freebsd.org/changeset/ports/340942
QAT: https://qat.redports.org/buildarchive/r340942/
Log:
- kernel modules support SSP natively, so change the description
of SSP_UNSAFE [1]
- take advantage of rmdir -p to remove nested instances of KMODDIR if
empty. Some ports have KMODDIR=dir1/dir2
Submitted by: antoine [1]
Approved by: portmgr (bapt)
Modified:
head/Mk/Uses/kmod.mk
Modified: head/Mk/Uses/kmod.mk
==============================================================================
--- head/Mk/Uses/kmod.mk Fri Jan 24 23:00:08 2014 (r340941)
+++ head/Mk/Uses/kmod.mk Fri Jan 24 23:08:17 2014 (r340942)
@@ -23,7 +23,7 @@ IGNORE= requires kernel source files in
CATEGORIES+= kld
-SSP_UNSAFE= kernel module does not support SSP
+SSP_UNSAFE= kernel module supports SSP natively
KMODDIR?= /boot/modules
.if ${KMODDIR} == /boot/kernel
@@ -51,7 +51,7 @@ kmod-post-install:
/usr/sbin/kldxref ${KMODDIR}
.endif
.if ${KMODDIR} != /boot/modules
- @${ECHO_CMD} "@unexec rmdir ${KMODDIR} 2>/dev/null || true" \
+ @${ECHO_CMD} "@unexec rmdir -p ${KMODDIR} 2>/dev/null || true" \
>> ${TMPPLIST}
.endif
More information about the svn-ports-all
mailing list