summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-02-19 12:15:15 +0000
committerobache <obache@pkgsrc.org>2009-02-19 12:15:15 +0000
commit23bf3b3676f499f446aaaec7ee1987dc795b3848 (patch)
tree880061a96a1eb9b53c1382a094d176dac5a9446c /lang
parent5b7f0f6049a950287d1833dc70b0336182765254 (diff)
downloadpkgsrc-23bf3b3676f499f446aaaec7ee1987dc795b3848.tar.gz
Change REPLACE_RUBY.old pattern to also match debian style "/usr/bin/ruby1.8".
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 9e706e2e025..3f5b3a80b35 100644
--- a/lang/ruby/replace.mk
+++ b/lang/ruby/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.12 2008/09/22 16:42:06 minskim Exp $
+# $NetBSD: replace.mk,v 1.13 2009/02/19 12:15:15 obache Exp $
#
.if !defined(_RUBY_REPLACE_MK)
@@ -13,7 +13,7 @@ _RUBY_REPLACE_MK= # defined
.if defined(REPLACE_RUBY)
REPLACE_INTERPRETER+= ${RUBY_NAME}
-REPLACE.${RUBY_NAME}.old= .*ruby[0-9]*
+REPLACE.${RUBY_NAME}.old= .*ruby[0-9.]*
REPLACE.${RUBY_NAME}.new= ${RUBY}
REPLACE_FILES.${RUBY_NAME}= ${REPLACE_RUBY}