Created attachment 395458 [details, diff] zsh-5.0.7-r2.ebuild.diff When zsh package is being installed it lacks headers that are necessary for compiling zsh third-party modules (I currently know only of one: my zpython). This patch adds necessary headers, putting them into /usr/include/zsh. It is assumed that they will be inluded using #define MODULE #include <zsh/zsh.mdh> in place where module present in zsh distribution will use #include "{module_name}.mdh" . Additionally it installs makepro.awk script to /usr/share/zsh and aczshoot.m4 to /usr/share/aclocal. I have actually no idea what can they be useful for (zpython builds fine without both), but in Debian zsh-dev maintainers install them. I hope this patch and a fix to debian zsh-dev package will attract more developers to writing zsh third-party modules.
Headers are now installed in 5.0.8, makepro.awk and the m4 file aren't as they seem somewhat pointless to install since most external modules using autotools would probably just bundle them if they used them.