diff options
Diffstat (limited to 'shells')
-rw-r--r-- | shells/zsh-devel/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/zsh-devel/Makefile b/shells/zsh-devel/Makefile index 20626bcc5ac0..88b424e1196e 100644 --- a/shells/zsh-devel/Makefile +++ b/shells/zsh-devel/Makefile @@ -26,6 +26,17 @@ MAN1= zsh.1 zshbuiltins.1 zshcompctl.1 zshexpn.1 zshmisc.1 \ # If you want to build a static binary, uncomment the following line #LDFLAGS+=-static +post-build: +# Fix ".so" macro problem by using "soelim" command. + @(cd ${WRKSRC} ; \ + ${LN} -sf ./Doc man1 ; \ + if [ ! -f ./man1/zshall.1.source ]; then \ + ${MV} -f ./man1/zshall.1 ./man1/zshall.1.source ; \ + fi ; \ + ${RM} -f ./man1/zshall.1 ; \ + /usr/bin/soelim ./man1/zshall.1.source > ./man1/zshall.1 ; \ + ) + post-install: @${INSTALL_DATA} ${WRKSRC}/Doc/zsh.info ${PREFIX}/info @install-info ${PREFIX}/info/zsh.info ${PREFIX}/info/dir |