diff options
author | taca <taca@pkgsrc.org> | 2006-01-30 16:30:05 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2006-01-30 16:30:05 +0000 |
commit | 4196983e86118e3c539f626fb9deaef40f71b0c9 (patch) | |
tree | 58ab5d2a26bbb338677aa200f0cb8a1495b6a1ae /lang/ruby | |
parent | 69637bfe1443585c76c3335d5e5ef48ca55ac2c5 (diff) | |
download | pkgsrc-4196983e86118e3c539f626fb9deaef40f71b0c9.tar.gz |
Simplify pattern for REPLACE_RUBY to fix some packages which contains
"/bin/env ruby" in bang line. It was broken after switching to use subst
frame work.
The problem was noted by OBATA Akio via private mail, thanks much.
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/replace.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ruby/replace.mk b/lang/ruby/replace.mk index 5e83b3584ef..1bd16272cae 100644 --- a/lang/ruby/replace.mk +++ b/lang/ruby/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.3 2005/12/05 20:50:27 rillig Exp $ +# $NetBSD: replace.mk,v 1.4 2006/01/30 16:30:05 taca Exp $ # .if !defined(_RUBY_REPLACE_MK) @@ -13,7 +13,7 @@ REPLACE_FILE_PAT?= *.rb .if defined(REPLACE_RUBY) REPLACE_INTERPRETER+= ${RUBY_NAME} -_REPLACE.${RUBY_NAME}.old= .*/ruby +_REPLACE.${RUBY_NAME}.old= .*ruby _REPLACE.${RUBY_NAME}.new= ${RUBY} _REPLACE_FILES.${RUBY_NAME}= ${REPLACE_RUBY} |