summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2007-05-01 23:03:29 +0000
committerminskim <minskim@pkgsrc.org>2007-05-01 23:03:29 +0000
commit9bd7f4c19fbf1274dbf4c5ea1059c24b01c56d3a (patch)
treea2e0690bdc75715f12ecc0f6fb7804703147a123 /lang
parente484d556e4e45176a098eaacb34e5f690bbecc19 (diff)
downloadpkgsrc-9bd7f4c19fbf1274dbf4c5ea1059c24b01c56d3a.tar.gz
Make the shebang line regex less restrictive, so that it matches
"ruby" followed by a version number.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby/replace.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ruby/replace.mk b/lang/ruby/replace.mk
index 500b277bd5c..118aeefea33 100644
--- a/lang/ruby/replace.mk
+++ b/lang/ruby/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.6 2006/07/20 13:54:44 jlam Exp $
+# $NetBSD: replace.mk,v 1.7 2007/05/01 23:03:29 minskim Exp $
#
.if !defined(_RUBY_REPLACE_MK)
@@ -15,7 +15,7 @@ REPLACE_FILE_PAT?= *.rb
.if defined(REPLACE_RUBY)
REPLACE_INTERPRETER+= ${RUBY_NAME}
-REPLACE.${RUBY_NAME}.old= .*ruby
+REPLACE.${RUBY_NAME}.old= .*ruby[0-9]*
REPLACE.${RUBY_NAME}.new= ${RUBY}
REPLACE_FILES.${RUBY_NAME}= ${REPLACE_RUBY}