From owner-svn-ports-all@freebsd.org Mon Apr 25 23:12:05 2016 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 92B4EB1CCBF; Mon, 25 Apr 2016 23:12:05 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 606D91794; Mon, 25 Apr 2016 23:12:05 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3PNC4Mv049304; Mon, 25 Apr 2016 23:12:04 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3PNC426049303; Mon, 25 Apr 2016 23:12:04 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201604252312.u3PNC426049303@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Mon, 25 Apr 2016 23:12:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414034 - head/Mk 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.21 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: Mon, 25 Apr 2016 23:12:05 -0000 Author: swills Date: Mon Apr 25 23:12:04 2016 New Revision: 414034 URL: https://svnweb.freebsd.org/changeset/ports/414034 Log: remove RUBY_SHEBANG_FILES since USES=shebangfix does the same PR: 209051 Modified: head/Mk/bsd.ruby.mk Modified: head/Mk/bsd.ruby.mk ============================================================================== --- head/Mk/bsd.ruby.mk Mon Apr 25 22:46:29 2016 (r414033) +++ head/Mk/bsd.ruby.mk Mon Apr 25 23:12:04 2016 (r414034) @@ -52,7 +52,6 @@ Ruby_Include_MAINTAINER= ruby@FreeBSD.or # expression will be set to RUBY_PROVIDED, which is # left undefined if the result is nil, false or a # zero-length string. Implies USE_RUBY. -# RUBY_SHEBANG_FILES - Specify the files which shebang lines you want to fix. # RUBY_RD_FILES - Specify the RD files which you want to generate HTML # documents from. If this is defined and not empty, # USE_RUBY_RDTOOL is implied and RUBY_RD_HTML_FILES is @@ -388,37 +387,6 @@ RUBY_PROVIDED= "should be" # the latest .endif .endif -# fix shebang lines -.if defined(RUBY_SHEBANG_FILES) && !empty(RUBY_SHEBANG_FILES) -USE_RUBY= yes - -post-patch: ruby-shebang-patch - -ruby-shebang-patch: - @cd ${WRKSRC}; for f in ${RUBY_SHEBANG_FILES}; do \ - ${ECHO_MSG} "===> Fixing the #! line of $$f"; \ - TMPFILE=`mktemp -t rubyshebang`; \ - cp $$f $$TMPFILE; \ - ${AWK} 'BEGIN {flag = 0;} \ - { \ - if (flag == 0) { \ - if ($$0 ~ /^#!/) { \ - sub(/#!(.*\/)?(env[[:space:]]+)?ruby/, "#!${RUBY}", $$0);\ - print $$0; \ - } \ - else { \ - print "#!${RUBY}"; \ - print $$0; \ - } \ - flag = 1; \ - } else { \ - print $$0; \ - } \ - }' $$TMPFILE > $$f; \ - rm -f $$TMPFILE; \ - done -.endif - .if ${PORT_OPTIONS:MDEBUG} RUBY_FLAGS+= -d .endif