pkgsrc/lang/ruby-base/patches/patch-ac
taca 4547b16077 Update ruby-base package to 1.6.6. Changes from 1.6.4 are too many,
see ${LOCALBASE}/share/doc/ruby/NEWS file.

plus two fixes noted on ruby-dev@ruby-lang.org.

[ruby-dev:15549] lib/irb/locale.rb
[ruby-dev:15551] lib/weakref.rb

And some ruby pakcage own changes:

- Handle proper RUBY_ARCH variable on current.
- REPLACE_RUBY is processed by sed(1) not ruby.
- Proper handle with RUBY_EXTCONF.
- USE_RUBY_SETUP dosen't implicit define USE_RUBY_AMSTD now.
2001-12-30 16:21:51 +00:00

24 lines
753 B
Text

$NetBSD: patch-ac,v 1.2 2001/12/30 16:21:52 taca Exp $
--- ext/curses/extconf.rb.orig Mon Dec 3 19:04:46 2001
+++ ext/curses/extconf.rb
@@ -6,17 +6,9 @@
make=false
have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM
-if have_header("ncurses.h") and have_library("ncurses", "initscr")
+have_library("termcap", "tgetent")
+if have_header("curses.h") and have_library("curses", "initscr")
make=true
-elsif have_header("ncurses/curses.h") and have_library("ncurses", "initscr")
- make=true
-elsif have_header("curses_colr/curses.h") and have_library("cur_colr", "initscr")
- make=true
-else
- have_library("termcap", "tgetent")
- if have_header("curses.h") and have_library("curses", "initscr")
- make=true
- end
end
if make