summaryrefslogtreecommitdiff
path: root/lang/ruby
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>2000-04-11 07:35:15 +0000
committersakamoto <sakamoto@pkgsrc.org>2000-04-11 07:35:15 +0000
commit41d13a62fdd8ced3e15d8c506e44d3a98b6488f0 (patch)
tree2006f46844ff1cbf62839969052edaf1c57467ac /lang/ruby
parent3c2a88c57febda41a54a64c825e0087c35b5f9ec (diff)
downloadpkgsrc-41d13a62fdd8ced3e15d8c506e44d3a98b6488f0.tar.gz
Remove redundant dependency on ncurses.
Fixes pkg/9793 by itojun@itojun.org.
Diffstat (limited to 'lang/ruby')
-rw-r--r--lang/ruby/Makefile3
-rw-r--r--lang/ruby/patches/patch-af22
2 files changed, 23 insertions, 2 deletions
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile
index 76d8434082a..38d9f34fa24 100644
--- a/lang/ruby/Makefile
+++ b/lang/ruby/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2000/02/02 04:07:36 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2000/04/11 07:35:15 sakamoto Exp $
#
DISTNAME= ruby-1.4.3
@@ -16,7 +16,6 @@ HOMEPAGE= http://www.ruby-lang.org/
BUILD_DEPENDS= ${LOCALBASE}/bin/bison:../../devel/bison
DEPENDS+= gdbm-1.7.3:../../databases/gdbm
-DEPENDS+= ncurses>=4.2:../../devel/ncurses
DEPENDS+= readline-4.0:../../devel/readline
BUILD_DEFS+= USE_INET6
diff --git a/lang/ruby/patches/patch-af b/lang/ruby/patches/patch-af
new file mode 100644
index 00000000000..01e2b29d85f
--- /dev/null
+++ b/lang/ruby/patches/patch-af
@@ -0,0 +1,22 @@
+$NetBSD: patch-af,v 1.1 2000/04/11 07:35:16 sakamoto Exp $
+
+--- ext/curses/extconf.rb.orig Tue Oct 12 18:11:25 1999
++++ ext/curses/extconf.rb Tue Apr 11 14:53:51 2000
+@@ -3,15 +3,7 @@
+ make=false
+ have_library("mytinfo", "tgetent") if /bow/ =~ PLATFORM
+-if have_header("ncurses.h") and have_library("ncurses", "initscr")
++have_library("termcap", "tgetent")
++if 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_library("curses", "initscr")
+- make=true
+- end
+ end
+