svn commit: r237958 - head/sys/conf
Doug Barton
dougb at FreeBSD.org
Mon Jul 2 06:22:20 UTC 2012
Author: dougb
Date: Mon Jul 2 06:22:20 2012
New Revision: 237958
URL: http://svn.freebsd.org/changeset/base/237958
Log:
For the ports modules building code, clean WRKDIR before building. This is
important for those that use -DNO_CLEAN routinely, since it will prevent
installing stale stuff, and even more important when the port is upgraded
to a newer version. When the user doesn't use -DNO_CLEAN, this will create
an infinitesimal amount of extra work, but won't hurt anything.
This is necessary because the ports tree has flags that prevent the ususal
'update the build if newer source files exist' logic from doing what it
would do in the base.
Modified:
head/sys/conf/kern.post.mk
Modified: head/sys/conf/kern.post.mk
==============================================================================
--- head/sys/conf/kern.post.mk Mon Jul 2 06:07:46 2012 (r237957)
+++ head/sys/conf/kern.post.mk Mon Jul 2 06:22:20 2012 (r237958)
@@ -64,7 +64,7 @@ PORTSMODULESENV=\
${__target}: ports-${__target}
ports-${__target}:
.for __i in ${PORTS_MODULES}
- cd $${PORTSDIR:-/usr/ports}/${__i}; ${PORTSMODULESENV} ${MAKE} -B ${__target:C/install/deinstall reinstall/:C/reinstall/deinstall reinstall/}
+ cd $${PORTSDIR:-/usr/ports}/${__i}; ${PORTSMODULESENV} ${MAKE} -B ${__target:C/all/clean all/:C/install/deinstall reinstall/:C/reinstall/deinstall reinstall/}
.endfor
.endfor
.endif
More information about the svn-src-head
mailing list