summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorobache <obache>2009-02-19 12:15:15 +0000
committerobache <obache>2009-02-19 12:15:15 +0000
commit375b163e9be632c8cf7984bf8bfd6fb3048ca858 (patch)
tree880061a96a1eb9b53c1382a094d176dac5a9446c /lang
parent1a92181c9eb5e571e6f00420e0b19969ec567a98 (diff)
downloadpkgsrc-375b163e9be632c8cf7984bf8bfd6fb3048ca858.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}