summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1999-12-07 18:43:06 +0000
committerbillf <billf@FreeBSD.org>1999-12-07 18:43:06 +0000
commit8e31c00480f4d7c553d04697dddd72680e62593d (patch)
tree939ee4b0c393e4177d13f3aedaa4951023839103
parent71c6c7db6f41d6eb6c05def16bc0a1746227c846 (diff)
downloadFreeBSD-ports-8e31c00480f4d7c553d04697dddd72680e62593d.zip
FreeBSD-ports-8e31c00480f4d7c553d04697dddd72680e62593d.tar.gz
Merge from zsh-devel: build zshall(1) correctly.
-rw-r--r--shells/zsh/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index ce02520..e6162f1 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -26,6 +26,17 @@ PLIST_SUB= ZSH_VERSION=${DISTNAME:S/zsh-//}
# If you want to build a static binary, uncomment the following line
#CONFIGURE_ENV+= "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-info ${PREFIX}/info/zsh.info ${PREFIX}/info/dir
@${ECHO} "Updating /etc/shells"
OpenPOWER on IntegriCloud