aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-02-11 00:43:22 +0800
committerknu <knu@FreeBSD.org>2001-02-11 00:43:22 +0800
commitb6436fa0d430be5e8e7e18ee44b4d7bc11b847fc (patch)
treef546c930e253db040af07ffa495481505b182c59 /lang
parentc31231d3ea0ed7dbab2f7fbd8e66dafe98249f75 (diff)
downloadfreebsd-ports-graphics-b6436fa0d430be5e8e7e18ee44b4d7bc11b847fc.tar.gz
freebsd-ports-graphics-b6436fa0d430be5e8e7e18ee44b4d7bc11b847fc.tar.zst
freebsd-ports-graphics-b6436fa0d430be5e8e7e18ee44b4d7bc11b847fc.zip
Use RUBY_SHEBANG_FILES to adjust the #! line of irb.rb. Somehow I
dropped this when I did a mass convert some time ago..
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby14-irb/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ruby14-irb/Makefile b/lang/ruby14-irb/Makefile
index 417094a2655..4be179d1396 100644
--- a/lang/ruby14-irb/Makefile
+++ b/lang/ruby14-irb/Makefile
@@ -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: