Attached patch fixes building of zsh on Tru64 and possibly other platforms. The problem is caused by /bin/sh's builtin trap command not accepting signal names without SIG prefix. Trap is used by the configure script. Thus invoking configure with openpkg's internal bash solves the problem.
Regards, /S
zsh.spec.patch
Description: Binary data