Created attachment 201406 [details] Update zsh to v5.7.
Break `textproc/zsh-syntax-highlighting`: (anon):14: failed to load module: zsh/regex (anon):14: -regex-match not available for regex
Comment on attachment 201406 [details] Update zsh to v5.7. Fixing existing pkg-plist issues (sorting and duplicates) should probably be done in a separate commit/patch to make review easier. > +%%DATADIR%%/%%ZSH_VER%%/functions/MIME/zsh-mime-setup.bak Looks like a remnant from post-patch. Try adding -i '' after ${REINPLACE_CMD} to avoid it in "make makeplist" output.