mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Use RUBY_SHEBANG_FILES to adjust the #! line of irb.rb. Somehow I
dropped this when I did a mass convert some time ago..
This commit is contained in:
parent
b5821579a2
commit
fcd4c74199
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38177
1 changed files with 2 additions and 2 deletions
|
@ -20,12 +20,12 @@ RUBY_VER= 1.4
|
|||
|
||||
USE_RUBY= yes
|
||||
|
||||
NO_BUILD= yes
|
||||
RUBY_SHEBANG_FILES= ${WRKSRC}/irb.rb
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
NO_BUILD= yes
|
||||
|
||||
post-patch:
|
||||
${PERL} -i -pe '$$. == 1 && s,^#!\s*\S+,#!${RUBY},' ${WRKSRC}/irb.rb
|
||||
${RM} -f ${WRKSRC}/instirb.rb
|
||||
|
||||
do-install:
|
||||
|
|
Loading…
Add table
Reference in a new issue