pkgsrc/devel/ruby-readline/patches/patch-aa
taca 914a586aff - Update to Ruby 1.8.3.
- Don't make always use GNU readline.
2005-11-02 08:59:04 +00:00

22 lines
652 B
Text

$NetBSD: patch-aa,v 1.4 2005/11/02 08:59:05 taca Exp $
This patch is generated with "diff -u -U 2".
--- extconf.rb.orig 2005-05-25 22:01:56.000000000 +0900
+++ extconf.rb
@@ -16,14 +16,11 @@ def have_readline_var(var)
end
dir_config('curses')
-dir_config('ncurses')
dir_config('termcap')
dir_config("readline")
enable_libedit = enable_config("libedit")
have_library("user32", nil) if /cygwin/ === RUBY_PLATFORM
-have_library("ncurses", "tgetnum") ||
- have_library("termcap", "tgetnum") ||
- have_library("curses", "tgetnum")
+have_library("curses", "tgetnum")
if enable_libedit
unless (have_readline_header("editline/readline.h") ||