mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Merge from zsh-devel: build zshall(1) correctly.
This commit is contained in:
parent
897070a7b3
commit
4d2abe5e75
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23640
1 changed files with 11 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue