From 37190c67346825ae2cec929c91f9d0d2ebeca05c Mon Sep 17 00:00:00 2001 From: ngie Date: Thu, 30 Mar 2017 05:15:00 +0000 Subject: 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) --- sys/conf/kern.post.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/conf/kern.post.mk') 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 -- cgit v1.1