From owner-svn-ports-all@freebsd.org Fri Jul 31 14:35:40 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 103EA9AF0C6; Fri, 31 Jul 2015 14:35:40 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 00A4C1612; Fri, 31 Jul 2015 14:35:40 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6VEZdXF059331; Fri, 31 Jul 2015 14:35:39 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6VEZdmp059330; Fri, 31 Jul 2015 14:35:39 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201507311435.t6VEZdmp059330@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 31 Jul 2015 14:35:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393309 - head/shells/zsh X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2015 14:35:40 -0000 Author: amdmi3 Date: Fri Jul 31 14:35:39 2015 New Revision: 393309 URL: https://svnweb.freebsd.org/changeset/ports/393309 Log: - Fix shebangs Approved by: portmgr blanket MFH: 2015Q3 (blanket) Modified: head/shells/zsh/Makefile Modified: head/shells/zsh/Makefile ============================================================================== --- head/shells/zsh/Makefile Fri Jul 31 14:05:58 2015 (r393308) +++ head/shells/zsh/Makefile Fri Jul 31 14:35:39 2015 (r393309) @@ -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