Date: Fri, 31 Jul 2015 14:42:33 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r393310 - branches/2015Q3/shells/zsh Message-ID: <201507311442.t6VEgX1I063451@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Jul 31 14:42:32 2015 New Revision: 393310 URL: https://svnweb.freebsd.org/changeset/ports/393310 Log: MFH: r393309 - Fix shebangs Approved by: portmgr blanket Approved by: ports-secteam shebang fix blanket Modified: branches/2015Q3/shells/zsh/Makefile Directory Properties: branches/2015Q3/ (props changed) Modified: branches/2015Q3/shells/zsh/Makefile ============================================================================== --- branches/2015Q3/shells/zsh/Makefile Fri Jul 31 14:35:39 2015 (r393309) +++ branches/2015Q3/shells/zsh/Makefile Fri Jul 31 14:42:32 2015 (r393310) @@ -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 .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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507311442.t6VEgX1I063451>