head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.8 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.6 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2010Q2:1.2.0.24 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.22 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.20 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.18 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.16 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.14 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.12 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.10 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.8 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.6 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.4 pkgsrc-2008Q1:1.2.0.2 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.1.1.1.0.26 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.24 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.22 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.20 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-2006Q4:1.1.1.1.0.18 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-2006Q3:1.1.1.1.0.16 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-2006Q2:1.1.1.1.0.14 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-2006Q1:1.1.1.1.0.12 pkgsrc-2006Q1-base:1.1.1.1 pkgsrc-2005Q4:1.1.1.1.0.10 pkgsrc-2005Q4-base:1.1.1.1 pkgsrc-2005Q3:1.1.1.1.0.8 pkgsrc-2005Q3-base:1.1.1.1 pkgsrc-2005Q2:1.1.1.1.0.6 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-2005Q1:1.1.1.1.0.4 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-2004Q4:1.1.1.1.0.2 pkgsrc-2004Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2010.09.10.03.31.12; author taca; state dead; branches; next 1.2; 1.2 date 2008.03.13.21.55.48; author jlam; state Exp; branches; next 1.1; 1.1 date 2004.11.27.14.35.15; author taca; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.11.27.14.35.15; author taca; state Exp; branches; next ; desc @@ 1.3 log @* Remove RUBY_HAS_ARCHLIB. * Use patches and distinfo from lang/ruby18-base. @ text @$NetBSD: patch-aa,v 1.2 2008/03/13 21:55:48 jlam Exp $ --- extconf.rb.orig 2007-02-12 18:01:19.000000000 -0500 +++ extconf.rb @@@@ -11,9 +11,6 @@@@ if have_header(*curses=%w"ncurses.h") an make=true elsif have_header(*curses=%w"ncurses/curses.h") and have_library("ncurses", "initscr") make=true -elsif have_header(*curses=%w"curses_colr/curses.h") and have_library("cur_colr", "initscr") - curses.unshift("varargs.h") - make=true elsif have_header(*curses=%w"curses.h") and have_library("curses", "initscr") make=true end @ 1.2 log @+ Support user-destdir installation. + Include termcap.buildlink3.mk because curses.so is linked against -ltermcap, so we need it to be transformed into the right library depending on the platform and PREFER_* settings. Bump the PKGREVISION to 1. + Because we are asking for ncurses (by include ncurses/buildlink3.mk), check for and -lncurses instead of and -lcurses. The curses.c file gets it wrong otherwise. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- extconf.rb.orig 2003-12-16 16:47:58.000000000 +0900 d5 4 a8 8 @@@@ -7,14 +7,7 @@@@ dir_config('termcap') make=false have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM have_library("tinfo", "tgetent") or have_library("termcap", "tgetent") -if have_header(*curses=%w"ncurses.h") and have_library("ncurses", "initscr") - make=true -elsif have_header(*curses=%w"ncurses/curses.h") and have_library("ncurses", "initscr") - make=true d12 1 a12 2 -elsif have_header(*curses=%w"curses.h") and have_library("curses", "initscr") +if have_header(*curses=%w"curses.h") and have_library("curses", "initscr") a14 1 @ 1.1.1.1 log @Initial import of ruby-curses package. This is separated from original Ruby 1.8.1 distribution because of (possible) dependency to external package. @ text @@