mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Fix shebangs
Approved by: portmgr blanket MFH: 2015Q3 (blanket)
This commit is contained in:
parent
4b507dc054
commit
cc1adc655e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393309
1 changed files with 13 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= zsh
|
||||
PORTVERSION= 5.0.8
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= \
|
||||
SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \
|
||||
|
@ -24,7 +24,17 @@ MAKE_JOBS_UNSAFE= yes
|
|||
|
||||
ZSH_VER= ${PORTVERSION}
|
||||
|
||||
USES= iconv ncurses tar:bzip2
|
||||
USES= iconv ncurses shebangfix tar:bzip2
|
||||
SHEBANG_FILES= Functions/Calendar/calendar_add \
|
||||
Functions/Misc/checkmail \
|
||||
Functions/Misc/run-help \
|
||||
Functions/Misc/sticky-note \
|
||||
Functions/Misc/zcalc \
|
||||
Functions/Misc/zed \
|
||||
Functions/Misc/zkbd
|
||||
SHEBANG_LANG= zsh
|
||||
zsh_OLD_CMD= /bin/zsh
|
||||
zsh_CMD= ${PREFIX}/bin/zsh
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -DBOOL_DEFINED
|
||||
|
@ -76,6 +86,7 @@ CONFIGURE_ENV+= ac_cv_lib_iconv_libiconv=no
|
|||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -i '' -e '1s|zsh|${zsh_CMD}|' ${WRKSRC}/Functions/Misc/run-help-ip
|
||||
@${REINPLACE_CMD} -e '/LIBS/s/-lrt//' ${WRKSRC}/configure
|
||||
@${SED} -i "" -e "s,link=dynamic,link=either," \
|
||||
${WRKSRC}/Src/Modules/*.mdd
|
||||
|
|
Loading…
Add table
Reference in a new issue