Commit graph

14 commits

Author SHA1 Message Date
taca
34bd1cfe85 Allow RUBY_ENCODING_ARG to add extra option to shbang line. 2010-09-10 03:13:59 +00:00
obache
23bf3b3676 Change REPLACE_RUBY.old pattern to also match debian style "/usr/bin/ruby1.8". 2009-02-19 12:15:15 +00:00
minskim
d3776fdde6 Make the change made in replace.mk 1.10 work on Solaris.
Previously, a non-existing directory in REPLACE_RUBY_DIRS stopped the build
on Solaris.
2008-09-22 16:42:06 +00:00
minskim
d6695412bc Make sure the shebang line replacement for Ruby alters only a shebang line.
Previously, it altered lines that did not start with "#!".  This, with
the recent change in misc/rubygems/rubygems 1.39, broke www/rails.
2008-09-21 21:50:31 +00:00
taca
af6f072532 Accept none existing directory in REPLACE_RUBY_DIRS. 2008-09-15 08:40:55 +00:00
jlam
729f7bf2da Allow REPLACE_RUBY_DIRS to be relative to ${WRKSRC}. 2008-03-17 20:57:04 +00:00
taca
9a5ce3acf4 Use more Ruby specific name: s/REPLACE_FILE_PAT/REPLACE_RUBY_PAT/. 2007-12-13 14:46:58 +00:00
minskim
3a7689da54 Make the shebang line regex less restrictive, so that it matches
"ruby" followed by a version number.
2007-05-01 23:03:29 +00:00
jlam
7c21fc1820 Change last instance of _REPLACE.* to REPLACE.*. Remove special
_REPLACE.* handling from replace-interpreter.mk.
2006-07-20 13:54:44 +00:00
rillig
72df17134b replace.mk needs rubyversion.mk. 2006-06-25 09:31:43 +00:00
taca
4196983e86 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.
2006-01-30 16:30:05 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
taca
2c3170f56f Use subst framework to process REPLACE_RUBY. 2005-11-02 07:44:33 +00:00
taca
893eb044d9 Importing files for Ruby's new framework. 2004-11-27 13:57:20 +00:00