diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-02 05:20:55 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-02 05:20:55 +0000 |
commit | 60abb6e0eb9624855ed145d2a6e86fdb062362a4 (patch) | |
tree | d2f54151401e06e82fbc64fc595ef38496fc517b /japanese/ruby-chasen/files | |
parent | 2c29ff0bf71dcbd147d5922ed2f5df9b10784673 (diff) |
Notes
Diffstat (limited to 'japanese/ruby-chasen/files')
-rw-r--r-- | japanese/ruby-chasen/files/patch-extconf.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/japanese/ruby-chasen/files/patch-extconf.rb b/japanese/ruby-chasen/files/patch-extconf.rb new file mode 100644 index 000000000000..a61be34e22d5 --- /dev/null +++ b/japanese/ruby-chasen/files/patch-extconf.rb @@ -0,0 +1,25 @@ +--- extconf.rb.orig Thu Sep 9 21:57:36 1999 ++++ extconf.rb Thu Mar 1 19:09:18 2001 +@@ -1,20 +1,6 @@ + require "mkmf" +-require "parsearg" + +-def usage() +- printf "Usage:\n" +- printf "%s [-L library_path]\n", $0 +-end +- +-$USAGE = 'usage' +-parseArgs(0, "L", nil, "L:.") +- +-unless have_library("chasen", "chasen_getopt_argv") +- $objs = Dir["*.{c,cc}"] +- for f in $objs +- f.sub!(/\.(c|cc)$/, ".o") +- end +- $objs.push File.join(["#{$OPT_L}", "libchasen.a"]) +-end ++dir_config("chasen") + ++have_library("chasen", "chasen_getopt_argv") && + create_makefile("chasen") |