diff --git a/Makefile.inc1 b/Makefile.inc1 index 12759c330fc9..3f37401b3823 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -784,6 +784,9 @@ buildenvvars: .PHONY BUILDENV_DIR?= ${.CURDIR} buildenv: .PHONY @echo Entering world for ${TARGET_ARCH}:${TARGET} +.if ${BUILDENV_SHELL:M*zsh*} + @echo For ZSH you must run: export CPUTYPE=${TARGET_CPUTYPE} +.endif @cd ${BUILDENV_DIR} && env ${WMAKEENV} BUILDENV=1 ${BUILDENV_SHELL} \ || true