diff options
author | ngie <ngie@FreeBSD.org> | 2017-03-30 05:15:00 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-03-30 05:15:00 +0000 |
commit | 37190c67346825ae2cec929c91f9d0d2ebeca05c (patch) | |
tree | 48728ba3f6df9f2c9278780a1a83e4ceff3f3f4d /sys/conf/kern.post.mk | |
parent | a2af4dff87603cbe62700a4e08c7b3dc0fb0227e (diff) | |
download | FreeBSD-src-37190c67346825ae2cec929c91f9d0d2ebeca05c.zip FreeBSD-src-37190c67346825ae2cec929c91f9d0d2ebeca05c.tar.gz |
MFC r314372:
Use "build" instead of "all" when building ports modules
"all" in ports currently means "stage the ports", which requires root today,
and brings to light other potential issues, like ENAMETOOLONG with staged
directories (bug 161481, etc).
This fixes buildkernel for me when run as a non-root user, assuming all
of the prerequisites have been installed beforehand and are up-to-date.
Discussed with: swills (IRC)
Diffstat (limited to 'sys/conf/kern.post.mk')
-rw-r--r-- | sys/conf/kern.post.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index ea5ba51..ae1d9f6 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -66,7 +66,7 @@ PORTSMODULESENV=\ all: .for __i in ${PORTS_MODULES} @${ECHO} "===> Ports module ${__i} (all)" - cd $${PORTSDIR:-/usr/ports}/${__i}; ${PORTSMODULESENV} ${MAKE} -B clean all + cd $${PORTSDIR:-/usr/ports}/${__i}; ${PORTSMODULESENV} ${MAKE} -B clean build .endfor .for __target in install reinstall clean |