summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2015-11-23 15:22:49 +0000
committertaca <taca@pkgsrc.org>2015-11-23 15:22:49 +0000
commit463fdd19388b740bbf9a7dd741510027cfa5fbc6 (patch)
treed753d185b00fd8cff8a45dd732a7566ab6510d53 /lang
parent12a8d9b858541111e570a9ab7885a613a9206e5d (diff)
downloadpkgsrc-463fdd19388b740bbf9a7dd741510027cfa5fbc6.tar.gz
Remove ruby193-base.
Ruby 1.9.3 is EOL since Feb 23, 2015.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby193-base/ALTERNATIVES6
-rw-r--r--lang/ruby193-base/DEINSTALL14
-rw-r--r--lang/ruby193-base/DESCR19
-rw-r--r--lang/ruby193-base/INSTALL14
-rw-r--r--lang/ruby193-base/MESSAGE15
-rw-r--r--lang/ruby193-base/Makefile186
-rw-r--r--lang/ruby193-base/PLIST963
-rw-r--r--lang/ruby193-base/distinfo51
-rw-r--r--lang/ruby193-base/hacks.mk37
-rw-r--r--lang/ruby193-base/options.mk16
-rw-r--r--lang/ruby193-base/patches/patch-configure133
-rw-r--r--lang/ruby193-base/patches/patch-configure.in113
-rw-r--r--lang/ruby193-base/patches/patch-defs_default__gems15
-rw-r--r--lang/ruby193-base/patches/patch-ext_dbm_extconf.rb15
-rw-r--r--lang/ruby193-base/patches/patch-ext_dl_extconf.rb13
-rw-r--r--lang/ruby193-base/patches/patch-ext_openssl_extconf.rb16
-rw-r--r--lang/ruby193-base/patches/patch-ext_openssl_ossl_ssl.c19
-rw-r--r--lang/ruby193-base/patches/patch-ext_tk_extconf.rb19
-rw-r--r--lang/ruby193-base/patches/patch-ext_tk_lib_tk.rb56
-rw-r--r--lang/ruby193-base/patches/patch-ext_tk_lib_tk_autoload.rb15
-rw-r--r--lang/ruby193-base/patches/patch-ext_tk_lib_tk_fontchooser.rb17
-rw-r--r--lang/ruby193-base/patches/patch-ext_tk_lib_tk_tk__mac.rb165
-rw-r--r--lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tcllib_validator.rb72
-rw-r--r--lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tile_treeview.rb50
-rw-r--r--lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tkimg_dted.rb40
-rw-r--r--lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tkimg_raw.rb40
-rw-r--r--lang/ruby193-base/patches/patch-ext_tk_tcltklib.c195
-rw-r--r--lang/ruby193-base/patches/patch-lib_mkmf.rb21
-rw-r--r--lang/ruby193-base/patches/patch-lib_rdoc_ri_driver.rb37
-rw-r--r--lang/ruby193-base/patches/patch-lib_rdoc_text.rb20
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems.rb41
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_command.rb34
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_command__manager.rb46
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_commands_install__command.rb15
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_commands_setup__command.rb38
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_commands_uninstall__command.rb18
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_commands_unpack__command.rb27
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_config__file.rb40
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_defaults.rb15
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_dependency__installer.rb59
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_doc__manager.rb24
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_gem__runner.rb15
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_install__update__options.rb19
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_installer.rb93
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_platform.rb27
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_specification.rb132
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_uninstaller.rb31
-rw-r--r--lang/ruby193-base/patches/patch-man_erb.124
-rw-r--r--lang/ruby193-base/patches/patch-man_irb.124
-rw-r--r--lang/ruby193-base/patches/patch-man_ri.124
-rw-r--r--lang/ruby193-base/patches/patch-man_ruby.124
-rw-r--r--lang/ruby193-base/patches/patch-pack.c42
-rw-r--r--lang/ruby193-base/patches/patch-test_rubygems_test__gem.rb22
-rw-r--r--lang/ruby193-base/patches/patch-tool_rbinstall.rb15
-rw-r--r--lang/ruby193-base/patches/patch-vsnprintf.c16
55 files changed, 0 insertions, 3257 deletions
diff --git a/lang/ruby193-base/ALTERNATIVES b/lang/ruby193-base/ALTERNATIVES
deleted file mode 100644
index 7c797c4cd3a..00000000000
--- a/lang/ruby193-base/ALTERNATIVES
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/erb @PREFIX@/bin/erb@RUBY_SUFFIX@
-bin/gem @PREFIX@/bin/gem@RUBY_SUFFIX@
-bin/irb @PREFIX@/bin/irb@RUBY_SUFFIX@
-bin/rake @PREFIX@/bin/rake@RUBY_SUFFIX@
-bin/ruby @PREFIX@/bin/@RUBY_NAME@
-bin/testrb @PREFIX@/bin/testrb@RUBY_SUFFIX@
diff --git a/lang/ruby193-base/DEINSTALL b/lang/ruby193-base/DEINSTALL
deleted file mode 100644
index aee805ecbf9..00000000000
--- a/lang/ruby193-base/DEINSTALL
+++ /dev/null
@@ -1,14 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2011/11/13 15:45:49 taca Exp $
-
-RUBY_GEM_BASE="${PREFIX}/@RUBY_GEM_BASE@"
-RUBY_SITERIDIR="${PREFIX}/@RUBY_SITERIDIR@"
-
-case ${STAGE} in
-DEINSTALL)
- ${RM} -f ${RUBY_SITERIDIR}/created.rid
- ;;
-POST-DEINSTALL)
- ${RM} -rf ${GEM_HOME}
- ${RMDIR} ${RUBY_GEM_BASE} 2>/dev/null || true
- ;;
-esac
diff --git a/lang/ruby193-base/DESCR b/lang/ruby193-base/DESCR
deleted file mode 100644
index c37ee263cef..00000000000
--- a/lang/ruby193-base/DESCR
+++ /dev/null
@@ -1,19 +0,0 @@
-Ruby is the interpreted scripting language for quick and
-easy object-oriented programming. It has many features to
-process text files and to do system management tasks (as in
-Perl). It is simple, straight-forward, and extensible.
-
-Features of Ruby are shown below.
-
- + Simple Syntax
- + *Normal* Object-Oriented features (ex. class, method calls)
- + *Advanced* Object-Oriented features (ex. Mix-in, Singleton-method)
- + Operator Overloading
- + Exception Handling
- + Iterators and Closures
- + Garbage Collection
- + Dynamic Loading of Object files (on some architecture)
- + Highly Portable (works on many UNIX machines, and on DOS,
- Windows, Mac, BeOS etc.)
-
-This package is Ruby 1.9.3 release minimum base package.
diff --git a/lang/ruby193-base/INSTALL b/lang/ruby193-base/INSTALL
deleted file mode 100644
index 8007f2d06e4..00000000000
--- a/lang/ruby193-base/INSTALL
+++ /dev/null
@@ -1,14 +0,0 @@
-# $NetBSD: INSTALL,v 1.2 2011/11/13 15:45:49 taca Exp $
-
-DATE="@DATE@"
-RUBY_SITERIDIR="${PREFIX}/@RUBY_SITERIDIR@"
-rid="${RUBY_SITERIDIR}/created.rid"
-
-case ${STAGE} in
-POST-INSTALL)
- if [ -d ${RUBY_SITERIDIR} ]; then
- ${DATE} > ${rid}
- fi
- ;;
-esac
-
diff --git a/lang/ruby193-base/MESSAGE b/lang/ruby193-base/MESSAGE
deleted file mode 100644
index 9420be412b1..00000000000
--- a/lang/ruby193-base/MESSAGE
+++ /dev/null
@@ -1,15 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
-
-Note that this is a minimal package.
-
-The original ${RUBY_DISTNAME} distribution includes more extension
-libraries, some of which are provided as separate packages:
-
- databases/ruby-gdbm: GDBM module
- devel/ruby-curses: Curses module
- devel/ruby-fiddle: Fiddle module
- devel/ruby-readline: readline module
- x11/ruby-tk: Tk modules
-
-===========================================================================
diff --git a/lang/ruby193-base/Makefile b/lang/ruby193-base/Makefile
deleted file mode 100644
index afeae280041..00000000000
--- a/lang/ruby193-base/Makefile
+++ /dev/null
@@ -1,186 +0,0 @@
-# $NetBSD: Makefile,v 1.51 2015/10/14 18:33:53 sevan Exp $
-#
-
-DISTNAME= ${RUBY_DISTNAME}
-PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_FULL}
-PKGREVISION= 2
-CATEGORIES= lang ruby
-MASTER_SITES= ${MASTER_SITE_RUBY}
-
-MAINTAINER= taca@NetBSD.org
-HOMEPAGE= ${RUBY_HOMEPAGE}
-COMMENT= Ruby ${RUBY_VERSION} release minimum base package
-LICENSE= ${RUBY_LICENSE}
-
-RUBY_VERSION_SUPPORTED= 193
-
-USE_GCC_RUNTIME= yes
-USE_LANGUAGES= c
-USE_TOOLS+= pax yacc pkg-config
-GNU_CONFIGURE= yes
-TEST_TARGET= test
-CONFIGURE_ARGS+= --enable-shared
-WRKSRC= ${RUBY_WRKSRC}
-# --- ext/date/all ---
-# make[2]: make[2]: don't know how to make ../../.ext/common/date. Stop
-# make[2]: stopped in .../lang/ruby193-base/work/ruby-1.9.3-p550/ext/date
-MAKE_JOBS_SAFE= no
-
-MAKE_DIRS= ${RUBY_SITEARCHLIB} ${RUBY_VENDORARCHLIB}
-
-#
-# Don't reference pkgsrc's INSTALL macro since Ruby expect it could
-# execute by unprivileged user.
-#
-CONFIGURE_ENV+= INSTALL="${INSTALL} ${COPY}" \
- INSTALL_DATA= INSTALL_PROGRAM= INSTALL_SCRIPT=
-
-CONFIGURE_ENV+= ac_cv_prog_PKG_CONFIG=""
-
-.include "../../mk/compiler.mk"
-
-.if !empty(PKGSRC_COMPILER:Msunpro)
-LIBS.SunOS+= -B static -lsunmath -B dynamic -lm
-LDFLAGS.SunOS+= -L${SUNWSPROBASE}/lib -Wl,-R${SUNWSPROBASE}/lib
-CONFIGURE_ENV+= LDSHARED="${CC} -G"
-.else
-LIBS.SunOS+= -lm
-.endif
-
-.if ${OPSYS} == "SunOS"
-CONFIGURE_ENV+= OBJCOPY=:
-.endif
-
-.if ${OPSYS} == "MirBSD"
-# if present, an unsupported sysconf call is used
-CONFIGURE_ENV+= ac_cv_func_getgrnam_r=no
-.endif
-
-# bmake doesn't like the codesign/POSTLINK constructs for Darwin.
-.if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin"
-USE_TOOLS+= gmake
-MAKE_FILE= GNUmakefile
-.endif
-
-# Ruby build process depends on config.status's content
-CONFIG_STATUS_OVERRIDE= # empty
-
-MAKE_DIRS+= ${RUBY_SITERIDIR}
-FILES_SUBST+= DATE=${DATE:Q}
-
-REQD_DIRS+= ${GEM_HOME}/cache
-REQD_DIRS+= ${GEM_HOME}/doc
-
-SUBST_CLASSES+= conf
-SUBST_STAGE.conf= pre-install
-SUBST_FILES.conf= lib/rubygems/config_file.rb
-SUBST_SED.conf= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
-SUBST_MESSAGE.conf= Fixing configuration files.
-
-.include "options.mk"
-
-.include "../../lang/ruby/rubyversion.mk"
-
-.if !empty(RUBY_SUFFIX)
-CONFIGURE_ARGS+= --program-suffix=${RUBY_SUFFIX}
-CONFIGURE_ARGS+= --with-soname=${RUBY_NAME}
-CONFIGURE_ARGS+= --with-ruby-version=${RUBY_VERSION}
-CONFIGURE_ARGS+= --with-ruby-pc="ruby-${RUBY_VERSION}.pc"
-.endif
-
-#
-# Win32 support (for Cygwin)
-#
-PLIST_VARS+= win32
-.if ${OPSYS} == "Cygwin"
-PLIST.win32= yes
-.endif
-
-#
-# IRIX work around which should be fixed.
-#
-PLIST_VARS+= io
-.if ${OPSYS} != "IRIX"
-PLIST.io= yes
-.endif
-
-#
-# Work around for getucontext(3)
-#
-.if ${OPSYS} == "DragonFly" && ${OS_VERSION} == "1.8.0"
-CONFIGURE_ENV+= ac_cv_header_ucontext_h=no
-.endif
-
-#
-# prevent unwanted mkdir recorded in rbconfig.rb
-#
-CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q}
-
-DOCS= COPYING COPYING.ja ChangeLog NEWS README \
- README.EXT README.EXT.ja README.ja ToDo \
- doc/ChangeLog-1.8.0 doc/ChangeLog-1.9.3 doc/ChangeLog-YARV \
- doc/NEWS-1.8.7 doc/NEWS-1.9.1 doc/NEWS-1.9.2 \
- doc/etc.rd doc/etc.rd.ja \
- doc/forwardable.rd doc/forwardable.rd.ja \
- doc/irb/irb-tools.rd.ja doc/irb/irb.rd doc/irb/irb.rd.ja \
- doc/shell.rd doc/shell.rd.ja
-EXT_DOCS= bigdecimal/bigdecimal_en.html bigdecimal/bigdecimal_ja.html \
- syslog/syslog.txt
-
-BIGDECIMAL_EXAMPLES= linear.rb nlsolve.rb pi.rb
-OPENSSL_EXAMPLES= c_rehash.rb cert2text.rb certstore.rb cipher.rb \
- crlstore.rb echo_cli.rb echo_svr.rb gen_csr.rb \
- smime_read.rb smime_write.rb wget.rb
-
-REPLACE_RUBY= bin/erb bin/gem bin/irb bin/rake bin/rdoc \
- bin/ri bin/testrb
-REPLACE_RUBY_DIRS= ext lib sample
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 \
- ${RUBY_DOC}/irb ${RUBY_DOC}/ripper ${RUBY_DOC}/stringio \
- ${RUBY_EG}/bigdecimal ${RUBY_EG}/pty
-# ${RUBY_ARCHINC} ${RUBY_ARCHLIB}
-EMPTY_DIRS= generator/template markup/simple_markup
-
-pre-configure:
- ${RM} -f ${WRKSRC}/ext/curses/extconf.rb
- ${RM} -f ${WRKSRC}/ext/gdbm/extconf.rb
- ${RM} -f ${WRKSRC}/ext/fiddle/extconf.rb
- ${RM} -f ${WRKSRC}/ext/readline/extconf.rb
- ${RM} -f ${WRKSRC}/ext/tk/extconf.rb
-
-pre-install:
- cd ${WRKSRC}/bin; for f in *; do ${LN} -f $$f $${f}${RUBY_SUFFIX}; done
- cd ${WRKSRC}/lib; \
- ${FIND} . \( -name '*.orig' -o -name '*.orig_dist' \) \
- -exec ${RM} -f {} \;
-.for f in ${EMPTY_DIRS}
- ${RMDIR} ${WRKSRC}/lib/rdoc/${f} 2>/dev/null || ${TRUE}
-.endfor
-
-post-install:
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/${f:C/^doc\///}
-.endfor
-.for f in ${EXT_DOCS}
- ${INSTALL_DATA} ${WRKSRC}/ext/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}
-.endfor
- cd ${WRKSRC}/ext/ripper; ${PAX} -rw README ${DESTDIR}${PREFIX}/${RUBY_DOC}/ripper
- cd ${WRKSRC}/ext/stringio; ${PAX} -rw README ${DESTDIR}${PREFIX}/${RUBY_DOC}/stringio
- cd ${WRKSRC}/sample; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_EG}
-.for f in ${BIGDECIMAL_EXAMPLES}
- ${INSTALL_DATA} ${RUBY_WRKSRC}/ext/bigdecimal/sample/${f} \
- ${DESTDIR}${PREFIX}/${RUBY_EG}/bigdecimal
-.endfor
-.for f in ${OPENSSL_EXAMPLES}
- ${INSTALL_DATA} ${RUBY_WRKSRC}/sample/openssl/${f} \
- ${DESTDIR}${PREFIX}/${RUBY_EG}/openssl
-.endfor
- ${RUBY_GENERATE_PLIST}
-
-.include "../../mk/bdb.buildlink3.mk"
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../textproc/libyaml/buildlink3.mk"
-.include "../../lang/ruby/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/lang/ruby193-base/PLIST b/lang/ruby193-base/PLIST
deleted file mode 100644
index af249a39b49..00000000000
--- a/lang/ruby193-base/PLIST
+++ /dev/null
@@ -1,963 +0,0 @@
-@comment $NetBSD: PLIST,v 1.9 2013/07/07 15:01:01 taca Exp $
-bin/erb${RUBY_VER}
-bin/gem${RUBY_VER}
-bin/irb${RUBY_VER}
-bin/rake${RUBY_VER}
-bin/rdoc${RUBY_VER}
-bin/ri${RUBY_VER}
-bin/${RUBY_NAME}
-${PLIST.win32}bin/rubyw${RUBY_VER}
-bin/testrb${RUBY_VER}
-${RUBY_ARCHINC}/ruby/config.h
-${RUBY_INC}/ruby.h
-${RUBY_INC}/ruby/backward/classext.h
-${RUBY_INC}/ruby/backward/rubyio.h
-${RUBY_INC}/ruby/backward/rubysig.h
-${RUBY_INC}/ruby/backward/st.h
-${RUBY_INC}/ruby/backward/util.h
-${RUBY_INC}/ruby/defines.h
-${RUBY_INC}/ruby/digest.h
-${RUBY_INC}/ruby/dl.h
-${RUBY_INC}/ruby/encoding.h
-${RUBY_INC}/ruby/intern.h
-${RUBY_INC}/ruby/io.h
-${RUBY_INC}/ruby/missing.h
-${RUBY_INC}/ruby/oniguruma.h
-${RUBY_INC}/ruby/re.h
-${RUBY_INC}/ruby/regex.h
-${RUBY_INC}/ruby/ruby.h
-${RUBY_INC}/ruby/st.h
-${RUBY_INC}/ruby/subst.h
-${RUBY_INC}/ruby/util.h
-${RUBY_INC}/ruby/version.h
-${RUBY_INC}/ruby/vm.h
-${RUBY_ARCHINC}/ruby/config.h
-lib/libruby${RUBY_STATICLIB}
-lib/libruby${RUBY_VER}.${RUBY_SLEXT}
-${RUBY_SHLIBALIAS}
-lib/libruby${RUBY_SHLIB}
-lib/pkgconfig/ruby-${RUBY_VERSION}.pc
-${RUBY_LIB}/English.rb
-${RUBY_LIB}/abbrev.rb
-${RUBY_LIB}/base64.rb
-${RUBY_LIB}/benchmark.rb
-${RUBY_LIB}/bigdecimal/jacobian.rb
-${RUBY_LIB}/bigdecimal/ludcmp.rb
-${RUBY_LIB}/bigdecimal/math.rb
-${RUBY_LIB}/bigdecimal/newton.rb
-${RUBY_LIB}/bigdecimal/util.rb
-${RUBY_LIB}/cgi.rb
-${RUBY_LIB}/cgi/cookie.rb
-${RUBY_LIB}/cgi/core.rb
-${RUBY_LIB}/cgi/html.rb
-${RUBY_LIB}/cgi/session.rb
-${RUBY_LIB}/cgi/session/pstore.rb
-${RUBY_LIB}/cgi/util.rb
-${RUBY_LIB}/cmath.rb
-${RUBY_LIB}/complex.rb
-${RUBY_LIB}/csv.rb
-${RUBY_LIB}/date.rb
-${RUBY_LIB}/date/format.rb
-${RUBY_LIB}/debug.rb
-${RUBY_LIB}/delegate.rb
-${RUBY_LIB}/digest.rb
-${RUBY_LIB}/digest/hmac.rb
-${RUBY_LIB}/digest/sha2.rb
-${RUBY_LIB}/dl.rb
-${RUBY_LIB}/dl/callback.rb
-${RUBY_LIB}/dl/cparser.rb
-${RUBY_LIB}/dl/func.rb
-${RUBY_LIB}/dl/import.rb
-${RUBY_LIB}/dl/pack.rb
-${RUBY_LIB}/dl/stack.rb
-${RUBY_LIB}/dl/struct.rb
-${RUBY_LIB}/dl/types.rb
-${RUBY_LIB}/dl/value.rb
-${RUBY_LIB}/drb.rb
-${RUBY_LIB}/drb/acl.rb
-${RUBY_LIB}/drb/drb.rb
-${RUBY_LIB}/drb/eq.rb
-${RUBY_LIB}/drb/extserv.rb
-${RUBY_LIB}/drb/extservm.rb
-${RUBY_LIB}/drb/gw.rb
-${RUBY_LIB}/drb/invokemethod.rb
-${RUBY_LIB}/drb/observer.rb
-${RUBY_LIB}/drb/ssl.rb
-${RUBY_LIB}/drb/timeridconv.rb
-${RUBY_LIB}/drb/unix.rb
-${RUBY_LIB}/e2mmap.rb
-${RUBY_LIB}/erb.rb
-${RUBY_LIB}/expect.rb
-${RUBY_LIB}/fileutils.rb
-${RUBY_LIB}/find.rb
-${RUBY_LIB}/forwardable.rb
-${RUBY_LIB}/getoptlong.rb
-${RUBY_LIB}/gserver.rb
-${PLIST.io}${RUBY_LIB}/io/console/size.rb
-${RUBY_LIB}/ipaddr.rb
-${RUBY_LIB}/irb.rb
-${RUBY_LIB}/irb/cmd/chws.rb
-${RUBY_LIB}/irb/cmd/fork.rb
-${RUBY_LIB}/irb/cmd/help.rb
-${RUBY_LIB}/irb/cmd/load.rb
-${RUBY_LIB}/irb/cmd/nop.rb
-${RUBY_LIB}/irb/cmd/pushws.rb
-${RUBY_LIB}/irb/cmd/subirb.rb
-${RUBY_LIB}/irb/completion.rb
-${RUBY_LIB}/irb/context.rb
-${RUBY_LIB}/irb/ext/change-ws.rb
-${RUBY_LIB}/irb/ext/history.rb
-${RUBY_LIB}/irb/ext/loader.rb
-${RUBY_LIB}/irb/ext/math-mode.rb
-${RUBY_LIB}/irb/ext/multi-irb.rb
-${RUBY_LIB}/irb/ext/save-history.rb
-${RUBY_LIB}/irb/ext/tracer.rb
-${RUBY_LIB}/irb/ext/use-loader.rb
-${RUBY_LIB}/irb/ext/workspaces.rb
-${RUBY_LIB}/irb/extend-command.rb
-${RUBY_LIB}/irb/frame.rb
-${RUBY_LIB}/irb/help.rb
-${RUBY_LIB}/irb/init.rb
-${RUBY_LIB}/irb/input-method.rb
-${RUBY_LIB}/irb/inspector.rb
-${RUBY_LIB}/irb/lc/error.rb
-${RUBY_LIB}/irb/lc/help-message
-${RUBY_LIB}/irb/lc/ja/encoding_aliases.rb
-${RUBY_LIB}/irb/lc/ja/error.rb
-${RUBY_LIB}/irb/lc/ja/help-message
-${RUBY_LIB}/irb/locale.rb
-${RUBY_LIB}/irb/magic-file.rb
-${RUBY_LIB}/irb/notifier.rb
-${RUBY_LIB}/irb/output-method.rb
-${RUBY_LIB}/irb/ruby-lex.rb
-${RUBY_LIB}/irb/ruby-token.rb
-${RUBY_LIB}/irb/slex.rb
-${RUBY_LIB}/irb/src_encoding.rb
-${RUBY_LIB}/irb/version.rb
-${RUBY_LIB}/irb/workspace.rb
-${RUBY_LIB}/irb/ws-for-case-2.rb
-${RUBY_LIB}/irb/xmp.rb
-${RUBY_LIB}/json.rb
-${RUBY_LIB}/json/add/complex.rb
-${RUBY_LIB}/json/add/core.rb
-${RUBY_LIB}/json/add/rational.rb
-${RUBY_LIB}/json/common.rb
-${RUBY_LIB}/json/ext.rb
-${RUBY_LIB}/json/version.rb
-${RUBY_LIB}/kconv.rb
-${RUBY_LIB}/logger.rb
-${RUBY_LIB}/mathn.rb
-${RUBY_LIB}/matrix.rb
-${RUBY_LIB}/matrix/eigenvalue_decomposition.rb
-${RUBY_LIB}/matrix/lup_decomposition.rb
-${RUBY_LIB}/minitest/autorun.rb
-${RUBY_LIB}/minitest/benchmark.rb
-${RUBY_LIB}/minitest/mock.rb
-${RUBY_LIB}/minitest/pride.rb
-${RUBY_LIB}/minitest/spec.rb
-${RUBY_LIB}/minitest/unit.rb
-${RUBY_LIB}/mkmf.rb
-${RUBY_LIB}/monitor.rb
-${RUBY_LIB}/mutex_m.rb
-${RUBY_LIB}/net/ftp.rb
-${RUBY_LIB}/net/http.rb
-${RUBY_LIB}/net/https.rb
-${RUBY_LIB}/net/imap.rb
-${RUBY_LIB}/net/pop.rb
-${RUBY_LIB}/net/protocol.rb
-${RUBY_LIB}/net/smtp.rb
-${RUBY_LIB}/net/telnet.rb
-${RUBY_LIB}/observer.rb
-${RUBY_LIB}/open-uri.rb
-${RUBY_LIB}/open3.rb
-${RUBY_LIB}/openssl.rb
-${RUBY_LIB}/openssl/bn.rb
-${RUBY_LIB}/openssl/buffering.rb
-${RUBY_LIB}/openssl/cipher.rb
-${RUBY_LIB}/openssl/config.rb
-${RUBY_LIB}/openssl/digest.rb
-${RUBY_LIB}/openssl/ssl-internal.rb
-${RUBY_LIB}/openssl/ssl.rb
-${RUBY_LIB}/openssl/x509-internal.rb
-${RUBY_LIB}/openssl/x509.rb
-${RUBY_LIB}/optparse.rb
-${RUBY_LIB}/optparse/date.rb
-${RUBY_LIB}/optparse/shellwords.rb
-${RUBY_LIB}/optparse/time.rb
-${RUBY_LIB}/optparse/uri.rb
-${RUBY_LIB}/optparse/version.rb
-${RUBY_LIB}/ostruct.rb
-${RUBY_LIB}/pathname.rb
-${RUBY_LIB}/pp.rb
-${RUBY_LIB}/prettyprint.rb
-${RUBY_LIB}/prime.rb
-${RUBY_LIB}/profile.rb
-${RUBY_LIB}/profiler.rb
-${RUBY_LIB}/pstore.rb
-${RUBY_LIB}/psych.rb
-${RUBY_LIB}/psych/coder.rb
-${RUBY_LIB}/psych/core_ext.rb
-${RUBY_LIB}/psych/deprecated.rb
-${RUBY_LIB}/psych/handler.rb
-${RUBY_LIB}/psych/handlers/document_stream.rb
-${RUBY_LIB}/psych/json/ruby_events.rb
-${RUBY_LIB}/psych/json/stream.rb
-${RUBY_LIB}/psych/json/tree_builder.rb
-${RUBY_LIB}/psych/json/yaml_events.rb
-${RUBY_LIB}/psych/nodes.rb
-${RUBY_LIB}/psych/nodes/alias.rb
-${RUBY_LIB}/psych/nodes/document.rb
-${RUBY_LIB}/psych/nodes/mapping.rb
-${RUBY_LIB}/psych/nodes/node.rb
-${RUBY_LIB}/psych/nodes/scalar.rb
-${RUBY_LIB}/psych/nodes/sequence.rb
-${RUBY_LIB}/psych/nodes/stream.rb
-${RUBY_LIB}/psych/omap.rb
-${RUBY_LIB}/psych/parser.rb
-${RUBY_LIB}/psych/scalar_scanner.rb
-${RUBY_LIB}/psych/set.rb
-${RUBY_LIB}/psych/stream.rb
-${RUBY_LIB}/psych/streaming.rb
-${RUBY_LIB}/psych/syntax_error.rb
-${RUBY_LIB}/psych/tree_builder.rb
-${RUBY_LIB}/psych/visitors.rb
-${RUBY_LIB}/psych/visitors/depth_first.rb
-${RUBY_LIB}/psych/visitors/emitter.rb
-${RUBY_LIB}/psych/visitors/json_tree.rb
-${RUBY_LIB}/psych/visitors/to_ruby.rb
-${RUBY_LIB}/psych/visitors/visitor.rb
-${RUBY_LIB}/psych/visitors/yaml_tree.rb
-${RUBY_LIB}/racc/parser.rb
-${RUBY_LIB}/rake.rb
-${RUBY_LIB}/rake/alt_system.rb
-${RUBY_LIB}/rake/application.rb
-${RUBY_LIB}/rake/classic_namespace.rb
-${RUBY_LIB}/rake/clean.rb
-${RUBY_LIB}/rake/cloneable.rb
-${RUBY_LIB}/rake/contrib/compositepublisher.rb
-${RUBY_LIB}/rake/contrib/ftptools.rb
-${RUBY_LIB}/rake/contrib/publisher.rb
-${RUBY_LIB}/rake/contrib/rubyforgepublisher.rb
-${RUBY_LIB}/rake/contrib/sshpublisher.rb
-${RUBY_LIB}/rake/contrib/sys.rb
-${RUBY_LIB}/rake/default_loader.rb
-${RUBY_LIB}/rake/dsl_definition.rb
-${RUBY_LIB}/rake/early_time.rb
-${RUBY_LIB}/rake/ext/core.rb
-${RUBY_LIB}/rake/ext/module.rb
-${RUBY_LIB}/rake/ext/string.rb
-${RUBY_LIB}/rake/ext/time.rb
-${RUBY_LIB}/rake/file_creation_task.rb
-${RUBY_LIB}/rake/file_list.rb
-${RUBY_LIB}/rake/file_task.rb
-${RUBY_LIB}/rake/file_utils.rb
-${RUBY_LIB}/rake/file_utils_ext.rb
-${RUBY_LIB}/rake/gempackagetask.rb
-${RUBY_LIB}/rake/invocation_chain.rb
-${RUBY_LIB}/rake/invocation_exception_mixin.rb
-${RUBY_LIB}/rake/lib/project.rake
-${RUBY_LIB}/rake/loaders/makefile.rb
-${RUBY_LIB}/rake/multi_task.rb
-${RUBY_LIB}/rake/name_space.rb
-${RUBY_LIB}/rake/packagetask.rb
-${RUBY_LIB}/rake/pathmap.rb
-${RUBY_LIB}/rake/pseudo_status.rb
-${RUBY_LIB}/rake/rake_module.rb
-${RUBY_LIB}/rake/rake_test_loader.rb
-${RUBY_LIB}/rake/rdoctask.rb
-${RUBY_LIB}/rake/ruby182_test_unit_fix.rb
-${RUBY_LIB}/rake/rule_recursion_overflow_error.rb
-${RUBY_LIB}/rake/runtest.rb
-${RUBY_LIB}/rake/task.rb
-${RUBY_LIB}/rake/task_argument_error.rb
-${RUBY_LIB}/rake/task_arguments.rb
-${RUBY_LIB}/rake/task_manager.rb
-${RUBY_LIB}/rake/tasklib.rb
-${RUBY_LIB}/rake/testtask.rb
-${RUBY_LIB}/rake/version.rb
-${RUBY_LIB}/rake/win32.rb
-${RUBY_LIB}/rational.rb
-${RUBY_LIB}/rbconfig/datadir.rb
-${RUBY_LIB}/rbconfig/obsolete.rb
-${RUBY_LIB}/rdoc.rb
-${RUBY_LIB}/rdoc/alias.rb
-${RUBY_LIB}/rdoc/anon_class.rb
-${RUBY_LIB}/rdoc/any_method.rb
-${RUBY_LIB}/rdoc/attr.rb
-${RUBY_LIB}/rdoc/class_module.rb
-${RUBY_LIB}/rdoc/code_object.rb
-${RUBY_LIB}/rdoc/code_objects.rb
-${RUBY_LIB}/rdoc/constant.rb
-${RUBY_LIB}/rdoc/context.rb
-${RUBY_LIB}/rdoc/cross_reference.rb
-${RUBY_LIB}/rdoc/encoding.rb
-${RUBY_LIB}/rdoc/erbio.rb
-${RUBY_LIB}/rdoc/generator.rb
-${RUBY_LIB}/rdoc/generator/darkfish.rb
-${RUBY_LIB}/rdoc/generator/markup.rb
-${RUBY_LIB}/rdoc/generator/ri.rb
-${RUBY_LIB}/rdoc/generator/template/darkfish/classpage.rhtml
-${RUBY_LIB}/rdoc/generator/template/darkfish/filepage.rhtml
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/brick.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/brick_link.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/bug.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/bullet_black.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/date.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/find.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/loadingAnimation.gif
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/macFFBgHack.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/package.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/page_green.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/page_white_text.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/page_white_width.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/plugin.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/ruby.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/tag_green.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/wrench.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/wrench_orange.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/images/zoom.png
-${RUBY_LIB}/rdoc/generator/template/darkfish/index.rhtml
-${RUBY_LIB}/rdoc/generator/template/darkfish/js/darkfish.js
-${RUBY_LIB}/rdoc/generator/template/darkfish/js/jquery.js
-${RUBY_LIB}/rdoc/generator/template/darkfish/js/quicksearch.js
-${RUBY_LIB}/rdoc/generator/template/darkfish/js/thickbox-compressed.js
-${RUBY_LIB}/rdoc/generator/template/darkfish/rdoc.css
-${RUBY_LIB}/rdoc/ghost_method.rb
-${RUBY_LIB}/rdoc/include.rb
-${RUBY_LIB}/rdoc/known_classes.rb
-${RUBY_LIB}/rdoc/markup.rb
-${RUBY_LIB}/rdoc/markup/attribute_manager.rb
-${RUBY_LIB}/rdoc/markup/blank_line.rb
-${RUBY_LIB}/rdoc/markup/document.rb
-${RUBY_LIB}/rdoc/markup/formatter.rb
-${RUBY_LIB}/rdoc/markup/formatter_test_case.rb
-${RUBY_LIB}/rdoc/markup/heading.rb
-${RUBY_LIB}/rdoc/markup/indented_paragraph.rb
-${RUBY_LIB}/rdoc/markup/inline.rb
-${RUBY_LIB}/rdoc/markup/list.rb
-${RUBY_LIB}/rdoc/markup/list_item.rb
-${RUBY_LIB}/rdoc/markup/paragraph.rb
-${RUBY_LIB}/rdoc/markup/parser.rb
-${RUBY_LIB}/rdoc/markup/pre_process.rb
-${RUBY_LIB}/rdoc/markup/raw.rb
-${RUBY_LIB}/rdoc/markup/rule.rb
-${RUBY_LIB}/rdoc/markup/text_formatter_test_case.rb
-${RUBY_LIB}/rdoc/markup/to_ansi.rb
-${RUBY_LIB}/rdoc/markup/to_bs.rb
-${RUBY_LIB}/rdoc/markup/to_html.rb
-${RUBY_LIB}/rdoc/markup/to_html_crossref.rb
-${RUBY_LIB}/rdoc/markup/to_rdoc.rb
-${RUBY_LIB}/rdoc/markup/to_test.rb
-${RUBY_LIB}/rdoc/markup/to_tt_only.rb
-${RUBY_LIB}/rdoc/markup/verbatim.rb
-${RUBY_LIB}/rdoc/meta_method.rb
-${RUBY_LIB}/rdoc/method_attr.rb
-${RUBY_LIB}/rdoc/normal_class.rb
-${RUBY_LIB}/rdoc/normal_module.rb
-${RUBY_LIB}/rdoc/options.rb
-${RUBY_LIB}/rdoc/parser.rb
-${RUBY_LIB}/rdoc/parser/c.rb
-${RUBY_LIB}/rdoc/parser/ruby.rb
-${RUBY_LIB}/rdoc/parser/ruby_tools.rb
-${RUBY_LIB}/rdoc/parser/simple.rb
-${RUBY_LIB}/rdoc/rdoc.rb
-${RUBY_LIB}/rdoc/require.rb
-${RUBY_LIB}/rdoc/ri.rb
-${RUBY_LIB}/rdoc/ri/driver.rb
-${RUBY_LIB}/rdoc/ri/formatter.rb
-${RUBY_LIB}/rdoc/ri/paths.rb
-${RUBY_LIB}/rdoc/ri/store.rb
-${RUBY_LIB}/rdoc/ruby_lex.rb
-${RUBY_LIB}/rdoc/ruby_token.rb
-${RUBY_LIB}/rdoc/rubygems_hook.rb
-${RUBY_LIB}/rdoc/single_class.rb
-${RUBY_LIB}/rdoc/stats.rb
-${RUBY_LIB}/rdoc/stats/normal.rb
-${RUBY_LIB}/rdoc/stats/quiet.rb
-${RUBY_LIB}/rdoc/stats/verbose.rb
-${RUBY_LIB}/rdoc/task.rb
-${RUBY_LIB}/rdoc/text.rb
-${RUBY_LIB}/rdoc/token_stream.rb
-${RUBY_LIB}/rdoc/top_level.rb
-${RUBY_LIB}/resolv-replace.rb
-${RUBY_LIB}/resolv.rb
-${RUBY_LIB}/rexml/attlistdecl.rb
-${RUBY_LIB}/rexml/attribute.rb
-${RUBY_LIB}/rexml/cdata.rb
-${RUBY_LIB}/rexml/child.rb
-${RUBY_LIB}/rexml/comment.rb
-${RUBY_LIB}/rexml/doctype.rb
-${RUBY_LIB}/rexml/document.rb
-${RUBY_LIB}/rexml/dtd/attlistdecl.rb
-${RUBY_LIB}/rexml/dtd/dtd.rb
-${RUBY_LIB}/rexml/dtd/elementdecl.rb
-${RUBY_LIB}/rexml/dtd/entitydecl.rb
-${RUBY_LIB}/rexml/dtd/notationdecl.rb
-${RUBY_LIB}/rexml/element.rb
-${RUBY_LIB}/rexml/encoding.rb
-${RUBY_LIB}/rexml/entity.rb
-${RUBY_LIB}/rexml/formatters/default.rb
-${RUBY_LIB}/rexml/formatters/pretty.rb
-${RUBY_LIB}/rexml/formatters/transitive.rb
-${RUBY_LIB}/rexml/functions.rb
-${RUBY_LIB}/rexml/instruction.rb
-${RUBY_LIB}/rexml/light/node.rb
-${RUBY_LIB}/rexml/namespace.rb
-${RUBY_LIB}/rexml/node.rb
-${RUBY_LIB}/rexml/output.rb
-${RUBY_LIB}/rexml/parent.rb
-${RUBY_LIB}/rexml/parseexception.rb
-${RUBY_LIB}/rexml/parsers/baseparser.rb
-${RUBY_LIB}/rexml/parsers/lightparser.rb
-${RUBY_LIB}/rexml/parsers/pullparser.rb
-${RUBY_LIB}/rexml/parsers/sax2parser.rb
-${RUBY_LIB}/rexml/parsers/streamparser.rb
-${RUBY_LIB}/rexml/parsers/treeparser.rb
-${RUBY_LIB}/rexml/parsers/ultralightparser.rb
-${RUBY_LIB}/rexml/parsers/xpathparser.rb
-${RUBY_LIB}/rexml/quickpath.rb
-${RUBY_LIB}/rexml/rexml.rb
-${RUBY_LIB}/rexml/sax2listener.rb
-${RUBY_LIB}/rexml/source.rb
-${RUBY_LIB}/rexml/streamlistener.rb
-${RUBY_LIB}/rexml/syncenumerator.rb
-${RUBY_LIB}/rexml/text.rb
-${RUBY_LIB}/rexml/undefinednamespaceexception.rb
-${RUBY_LIB}/rexml/validation/relaxng.rb
-${RUBY_LIB}/rexml/validation/validation.rb
-${RUBY_LIB}/rexml/validation/validationexception.rb
-${RUBY_LIB}/rexml/xmldecl.rb
-${RUBY_LIB}/rexml/xmltokens.rb
-${RUBY_LIB}/rexml/xpath.rb
-${RUBY_LIB}/rexml/xpath_parser.rb
-${RUBY_LIB}/rinda/rinda.rb
-${RUBY_LIB}/rinda/ring.rb
-${RUBY_LIB}/rinda/tuplespace.rb
-${RUBY_LIB}/ripper.rb
-${RUBY_LIB}/ripper/core.rb
-${RUBY_LIB}/ripper/filter.rb
-${RUBY_LIB}/ripper/lexer.rb
-${RUBY_LIB}/ripper/sexp.rb
-${RUBY_LIB}/rss.rb
-${RUBY_LIB}/rss/0.9.rb
-${RUBY_LIB}/rss/1.0.rb
-${RUBY_LIB}/rss/2.0.rb
-${RUBY_LIB}/rss/atom.rb
-${RUBY_LIB}/rss/content.rb
-${RUBY_LIB}/rss/content/1.0.rb
-${RUBY_LIB}/rss/content/2.0.rb
-${RUBY_LIB}/rss/converter.rb
-${RUBY_LIB}/rss/dublincore.rb
-${RUBY_LIB}/rss/dublincore/1.0.rb
-${RUBY_LIB}/rss/dublincore/2.0.rb
-${RUBY_LIB}/rss/dublincore/atom.rb
-${RUBY_LIB}/rss/image.rb
-${RUBY_LIB}/rss/itunes.rb
-${RUBY_LIB}/rss/maker.rb
-${RUBY_LIB}/rss/maker/0.9.rb
-${RUBY_LIB}/rss/maker/1.0.rb
-${RUBY_LIB}/rss/maker/2.0.rb
-${RUBY_LIB}/rss/maker/atom.rb
-${RUBY_LIB}/rss/maker/base.rb
-${RUBY_LIB}/rss/maker/content.rb
-${RUBY_LIB}/rss/maker/dublincore.rb
-${RUBY_LIB}/rss/maker/entry.rb
-${RUBY_LIB}/rss/maker/feed.rb
-${RUBY_LIB}/rss/maker/image.rb
-${RUBY_LIB}/rss/maker/itunes.rb
-${RUBY_LIB}/rss/maker/slash.rb
-${RUBY_LIB}/rss/maker/syndication.rb
-${RUBY_LIB}/rss/maker/taxonomy.rb
-${RUBY_LIB}/rss/maker/trackback.rb
-${RUBY_LIB}/rss/parser.rb
-${RUBY_LIB}/rss/rexmlparser.rb
-${RUBY_LIB}/rss/rss.rb
-${RUBY_LIB}/rss/slash.rb
-${RUBY_LIB}/rss/syndication.rb
-${RUBY_LIB}/rss/taxonomy.rb
-${RUBY_LIB}/rss/trackback.rb
-${RUBY_LIB}/rss/utils.rb
-${RUBY_LIB}/rss/xml-stylesheet.rb
-${RUBY_LIB}/rss/xml.rb
-${RUBY_LIB}/rss/xmlparser.rb
-${RUBY_LIB}/rss/xmlscanner.rb
-${RUBY_LIB}/rubygems.rb
-${RUBY_LIB}/rubygems/builder.rb
-${RUBY_LIB}/rubygems/command.rb
-${RUBY_LIB}/rubygems/command_manager.rb
-${RUBY_LIB}/rubygems/commands/build_command.rb
-${RUBY_LIB}/rubygems/commands/cert_command.rb
-${RUBY_LIB}/rubygems/commands/check_command.rb
-${RUBY_LIB}/rubygems/commands/cleanup_command.rb
-${RUBY_LIB}/rubygems/commands/contents_command.rb
-${RUBY_LIB}/rubygems/commands/dependency_command.rb
-${RUBY_LIB}/rubygems/commands/environment_command.rb
-${RUBY_LIB}/rubygems/commands/fetch_command.rb
-${RUBY_LIB}/rubygems/commands/generate_index_command.rb
-${RUBY_LIB}/rubygems/commands/help_command.rb
-${RUBY_LIB}/rubygems/commands/install_command.rb
-${RUBY_LIB}/rubygems/commands/list_command.rb
-${RUBY_LIB}/rubygems/commands/lock_command.rb
-${RUBY_LIB}/rubygems/commands/outdated_command.rb
-${RUBY_LIB}/rubygems/commands/owner_command.rb
-${RUBY_LIB}/rubygems/commands/pristine_command.rb
-${RUBY_LIB}/rubygems/commands/push_command.rb
-${RUBY_LIB}/rubygems/commands/query_command.rb
-${RUBY_LIB}/rubygems/commands/rdoc_command.rb
-${RUBY_LIB}/rubygems/commands/search_command.rb
-${RUBY_LIB}/rubygems/commands/server_command.rb
-${RUBY_LIB}/rubygems/commands/setup_command.rb
-${RUBY_LIB}/rubygems/commands/sources_command.rb
-${RUBY_LIB}/rubygems/commands/specification_command.rb
-${RUBY_LIB}/rubygems/commands/stale_command.rb
-${RUBY_LIB}/rubygems/commands/uninstall_command.rb
-${RUBY_LIB}/rubygems/commands/unpack_command.rb
-${RUBY_LIB}/rubygems/commands/update_command.rb
-${RUBY_LIB}/rubygems/commands/which_command.rb
-${RUBY_LIB}/rubygems/config_file.rb
-${RUBY_LIB}/rubygems/custom_require.rb
-${RUBY_LIB}/rubygems/defaults.rb
-${RUBY_LIB}/rubygems/dependency.rb
-${RUBY_LIB}/rubygems/dependency_installer.rb
-${RUBY_LIB}/rubygems/dependency_list.rb
-${RUBY_LIB}/rubygems/deprecate.rb
-${RUBY_LIB}/rubygems/doc_manager.rb
-${RUBY_LIB}/rubygems/errors.rb
-${RUBY_LIB}/rubygems/exceptions.rb
-${RUBY_LIB}/rubygems/ext.rb
-${RUBY_LIB}/rubygems/ext/builder.rb
-${RUBY_LIB}/rubygems/ext/configure_builder.rb
-${RUBY_LIB}/rubygems/ext/ext_conf_builder.rb
-${RUBY_LIB}/rubygems/ext/rake_builder.rb
-${RUBY_LIB}/rubygems/format.rb
-${RUBY_LIB}/rubygems/gem_openssl.rb
-${RUBY_LIB}/rubygems/gem_path_searcher.rb
-${RUBY_LIB}/rubygems/gem_runner.rb
-${RUBY_LIB}/rubygems/gemcutter_utilities.rb
-${RUBY_LIB}/rubygems/indexer.rb
-${RUBY_LIB}/rubygems/install_update_options.rb
-${RUBY_LIB}/rubygems/installer.rb
-${RUBY_LIB}/rubygems/installer_test_case.rb
-${RUBY_LIB}/rubygems/local_remote_options.rb
-${RUBY_LIB}/rubygems/mock_gem_ui.rb
-${RUBY_LIB}/rubygems/old_format.rb
-${RUBY_LIB}/rubygems/package.rb
-${RUBY_LIB}/rubygems/package/f_sync_dir.rb
-${RUBY_LIB}/rubygems/package/tar_header.rb
-${RUBY_LIB}/rubygems/package/tar_input.rb
-${RUBY_LIB}/rubygems/package/tar_output.rb
-${RUBY_LIB}/rubygems/package/tar_reader.rb
-${RUBY_LIB}/rubygems/package/tar_reader/entry.rb
-${RUBY_LIB}/rubygems/package/tar_test_case.rb
-${RUBY_LIB}/rubygems/package/tar_writer.rb
-${RUBY_LIB}/rubygems/package_task.rb
-${RUBY_LIB}/rubygems/path_support.rb
-${RUBY_LIB}/rubygems/platform.rb
-${RUBY_LIB}/rubygems/psych_additions.rb
-${RUBY_LIB}/rubygems/psych_tree.rb
-${RUBY_LIB}/rubygems/remote_fetcher.rb
-${RUBY_LIB}/rubygems/require_paths_builder.rb
-${RUBY_LIB}/rubygems/requirement.rb
-${RUBY_LIB}/rubygems/security.rb
-${RUBY_LIB}/rubygems/server.rb
-${RUBY_LIB}/rubygems/source_index.rb
-${RUBY_LIB}/rubygems/spec_fetcher.rb
-${RUBY_LIB}/rubygems/specification.rb
-${RUBY_LIB}/rubygems/ssl_certs/ca-bundle.pem
-${RUBY_LIB}/rubygems/syck_hack.rb
-${RUBY_LIB}/rubygems/test_case.rb
-${RUBY_LIB}/rubygems/test_utilities.rb
-${RUBY_LIB}/rubygems/text.rb
-${RUBY_LIB}/rubygems/uninstaller.rb
-${RUBY_LIB}/rubygems/user_interaction.rb
-${RUBY_LIB}/rubygems/validator.rb
-${RUBY_LIB}/rubygems/version.rb
-${RUBY_LIB}/rubygems/version_option.rb
-${RUBY_LIB}/scanf.rb
-${RUBY_LIB}/securerandom.rb
-${RUBY_LIB}/set.rb
-${RUBY_LIB}/shell.rb
-${RUBY_LIB}/shell/builtin-command.rb
-${RUBY_LIB}/shell/command-processor.rb
-${RUBY_LIB}/shell/error.rb
-${RUBY_LIB}/shell/filter.rb
-${RUBY_LIB}/shell/process-controller.rb
-${RUBY_LIB}/shell/system-command.rb
-${RUBY_LIB}/shell/version.rb
-${RUBY_LIB}/shellwords.rb
-${RUBY_LIB}/singleton.rb
-${RUBY_LIB}/socket.rb
-${RUBY_LIB}/syck.rb
-${RUBY_LIB}/syck/baseemitter.rb
-${RUBY_LIB}/syck/basenode.rb
-${RUBY_LIB}/syck/constants.rb
-${RUBY_LIB}/syck/encoding.rb
-${RUBY_LIB}/syck/error.rb
-${RUBY_LIB}/syck/loader.rb
-${RUBY_LIB}/syck/rubytypes.rb
-${RUBY_LIB}/syck/stream.rb
-${RUBY_LIB}/syck/stringio.rb
-${RUBY_LIB}/syck/syck.rb
-${RUBY_LIB}/syck/tag.rb
-${RUBY_LIB}/syck/types.rb
-${RUBY_LIB}/syck/yamlnode.rb
-${RUBY_LIB}/syck/ypath.rb
-${RUBY_LIB}/sync.rb
-${RUBY_LIB}/tempfile.rb
-${RUBY_LIB}/test/unit.rb
-${RUBY_LIB}/test/unit/assertions.rb
-${RUBY_LIB}/test/unit/parallel.rb
-${RUBY_LIB}/test/unit/testcase.rb
-${RUBY_LIB}/thread.rb
-${RUBY_LIB}/thwait.rb
-${RUBY_LIB}/time.rb
-${RUBY_LIB}/timeout.rb
-${RUBY_LIB}/tmpdir.rb
-${RUBY_LIB}/tracer.rb
-${RUBY_LIB}/tsort.rb
-${RUBY_LIB}/ubygems.rb
-${RUBY_LIB}/un.rb
-${RUBY_LIB}/uri.rb
-${RUBY_LIB}/uri/common.rb
-${RUBY_LIB}/uri/ftp.rb
-${RUBY_LIB}/uri/generic.rb
-${RUBY_LIB}/uri/http.rb
-${RUBY_LIB}/uri/https.rb
-${RUBY_LIB}/uri/ldap.rb
-${RUBY_LIB}/uri/ldaps.rb
-${RUBY_LIB}/uri/mailto.rb
-${RUBY_LIB}/weakref.rb
-${RUBY_LIB}/webrick.rb
-${RUBY_LIB}/webrick/accesslog.rb
-${RUBY_LIB}/webrick/cgi.rb
-${RUBY_LIB}/webrick/compat.rb
-${RUBY_LIB}/webrick/config.rb
-${RUBY_LIB}/webrick/cookie.rb
-${RUBY_LIB}/webrick/htmlutils.rb
-${RUBY_LIB}/webrick/httpauth.rb
-${RUBY_LIB}/webrick/httpauth/authenticator.rb
-${RUBY_LIB}/webrick/httpauth/basicauth.rb
-${RUBY_LIB}/webrick/httpauth/digestauth.rb
-${RUBY_LIB}/webrick/httpauth/htdigest.rb
-${RUBY_LIB}/webrick/httpauth/htgroup.rb
-${RUBY_LIB}/webrick/httpauth/htpasswd.rb
-${RUBY_LIB}/webrick/httpauth/userdb.rb
-${RUBY_LIB}/webrick/httpproxy.rb
-${RUBY_LIB}/webrick/httprequest.rb
-${RUBY_LIB}/webrick/httpresponse.rb
-${RUBY_LIB}/webrick/https.rb
-${RUBY_LIB}/webrick/httpserver.rb
-${RUBY_LIB}/webrick/httpservlet.rb
-${RUBY_LIB}/webrick/httpservlet/abstract.rb
-${RUBY_LIB}/webrick/httpservlet/cgi_runner.rb
-${RUBY_LIB}/webrick/httpservlet/cgihandler.rb
-${RUBY_LIB}/webrick/httpservlet/erbhandler.rb
-${RUBY_LIB}/webrick/httpservlet/filehandler.rb
-${RUBY_LIB}/webrick/httpservlet/prochandler.rb
-${RUBY_LIB}/webrick/httpstatus.rb
-${RUBY_LIB}/webrick/httputils.rb
-${RUBY_LIB}/webrick/httpversion.rb
-${RUBY_LIB}/webrick/log.rb
-${RUBY_LIB}/webrick/server.rb
-${RUBY_LIB}/webrick/ssl.rb
-${RUBY_LIB}/webrick/utils.rb
-${RUBY_LIB}/webrick/version.rb
-${PLIST.win32}${RUBY_LIB}/win32/registry.rb
-${PLIST.win32}${RUBY_LIB}/win32/resolv.rb
-${PLIST.win32}${RUBY_LIB}/win32/sspi.rb
-${PLIST.win32}${RUBY_LIB}/win32/sspi.rb
-${PLIST.win32}${RUBY_LIB}/Win32API.rb
-${PLIST.win32}${RUBY_LIB}/win32ole.rb
-${PLIST.win32}${RUBY_LIB}/win32ole/property.rb
-${RUBY_LIB}/xmlrpc/base64.rb
-${RUBY_LIB}/xmlrpc/client.rb
-${RUBY_LIB}/xmlrpc/config.rb
-${RUBY_LIB}/xmlrpc/create.rb
-${RUBY_LIB}/xmlrpc/datetime.rb
-${RUBY_LIB}/xmlrpc/httpserver.rb
-${RUBY_LIB}/xmlrpc/marshal.rb
-${RUBY_LIB}/xmlrpc/parser.rb
-${RUBY_LIB}/xmlrpc/server.rb
-${RUBY_LIB}/xmlrpc/utils.rb
-${RUBY_LIB}/yaml.rb
-${RUBY_LIB}/yaml/dbm.rb
-${RUBY_LIB}/yaml/store.rb
-${RUBY_LIB}/yaml/syck.rb
-${RUBY_ARCHLIB}/bigdecimal.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/continuation.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/coverage.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/date_core.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/dbm.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/digest.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/digest/bubblebabble.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/digest/md5.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/digest/rmd160.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/digest/sha1.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/digest/sha2.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/dl.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/dl/callback.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/big5.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/cp949.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/emacs_mule.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/encdb.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/euc_jp.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/euc_kr.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/euc_tw.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/gb18030.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/gb2312.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/gbk.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_1.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_10.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_11.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_13.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_14.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_15.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_16.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_2.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_3.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_4.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_5.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_6.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_7.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_8.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/iso_8859_9.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/koi8_r.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/koi8_u.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/shift_jis.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/big5.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/chinese.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/emoji.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/emoji_iso2022_kddi.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/emoji_sjis_docomo.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/emoji_sjis_kddi.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/emoji_sjis_softbank.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/escape.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/gb18030.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/gbk.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/iso2022.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/japanese.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/japanese_euc.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/japanese_sjis.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/korean.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/single_byte.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/transdb.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/utf8_mac.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/trans/utf_16_32.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/utf_16be.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/utf_16le.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/utf_32be.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/utf_32le.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/enc/windows_1251.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/etc.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/fcntl.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/fiber.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/iconv.${RUBY_DLEXT}
-${PLIST.io}${RUBY_ARCHLIB}/io/console.${RUBY_DLEXT}
-${PLIST.io}${RUBY_ARCHLIB}/io/nonblock.${RUBY_DLEXT}
-${PLIST.io}${RUBY_ARCHLIB}/io/wait.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/json/ext/generator.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/json/ext/parser.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/mathn/complex.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/mathn/rational.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/nkf.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/objspace.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/openssl.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/pathname.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/psych.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/pty.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/racc/cparse.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/rbconfig.rb
-${RUBY_ARCHLIB}/ripper.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/sdbm.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/socket.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/stringio.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/strscan.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/syck.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/syslog.${RUBY_DLEXT}
-${PLIST.win32}${RUBY_ARCHLIB}/win32ole.${RUBY_DLEXT}
-${RUBY_ARCHLIB}/zlib.${RUBY_DLEXT}
-${GEM_HOME}/gems/rake-0.9.2.2/bin/rake${RUBY_VER}
-${GEM_HOME}/gems/rdoc-3.9.5/bin/rdoc${RUBY_VER}
-${GEM_HOME}/gems/rdoc-3.9.5/bin/ri${RUBY_VER}
-${GEM_HOME}/specifications/bigdecimal-1.1.0.gemspec
-${GEM_HOME}/specifications/io-console-0.3.gemspec
-${GEM_HOME}/specifications/json-1.5.5.gemspec
-${GEM_HOME}/specifications/minitest-2.5.1.gemspec
-${GEM_HOME}/specifications/rake-0.9.2.2.gemspec
-${GEM_HOME}/specifications/rdoc-3.9.5.gemspec
-man/man1/erb${RUBY_VER}.1
-man/man1/irb${RUBY_VER}.1
-man/man1/rake${RUBY_VER}.1
-man/man1/ri${RUBY_VER}.1
-man/man1/${RUBY_NAME}.1
-${RUBY_DOC}/COPYING
-${RUBY_DOC}/COPYING.ja
-${RUBY_DOC}/ChangeLog
-${RUBY_DOC}/ChangeLog-1.8.0
-${RUBY_DOC}/ChangeLog-1.9.3
-${RUBY_DOC}/ChangeLog-YARV
-${RUBY_DOC}/NEWS
-${RUBY_DOC}/NEWS-1.8.7
-${RUBY_DOC}/NEWS-1.9.1
-${RUBY_DOC}/NEWS-1.9.2
-${RUBY_DOC}/README
-${RUBY_DOC}/README.EXT
-${RUBY_DOC}/README.EXT.ja
-${RUBY_DOC}/README.ja
-${RUBY_DOC}/ToDo
-${RUBY_DOC}/bigdecimal_en.html
-${RUBY_DOC}/bigdecimal_ja.html
-${RUBY_DOC}/etc.rd
-${RUBY_DOC}/etc.rd.ja
-${RUBY_DOC}/forwardable.rd
-${RUBY_DOC}/forwardable.rd.ja
-${RUBY_DOC}/irb/irb-tools.rd.ja
-${RUBY_DOC}/irb/irb.rd
-${RUBY_DOC}/irb/irb.rd.ja
-${RUBY_DOC}/ripper/README
-${RUBY_DOC}/shell.rd
-${RUBY_DOC}/shell.rd.ja
-${RUBY_DOC}/stringio/README
-${RUBY_DOC}/syslog.txt
-${RUBY_EG}/README
-${RUBY_EG}/bigdecimal/linear.rb
-${RUBY_EG}/bigdecimal/nlsolve.rb
-${RUBY_EG}/bigdecimal/pi.rb
-${RUBY_EG}/biorhythm.rb
-${RUBY_EG}/cal.rb
-${RUBY_EG}/cbreak.rb
-${RUBY_EG}/clnt.rb
-${RUBY_EG}/coverage.rb
-${RUBY_EG}/dir.rb
-${RUBY_EG}/drb/README.rd
-${RUBY_EG}/drb/README.rd.ja
-${RUBY_EG}/drb/darray.rb
-${RUBY_EG}/drb/darrayc.rb
-${RUBY_EG}/drb/dbiff.rb
-${RUBY_EG}/drb/dcdbiff.rb
-${RUBY_EG}/drb/dchatc.rb
-${RUBY_EG}/drb/dchats.rb
-${RUBY_EG}/drb/dhasen.rb
-${RUBY_EG}/drb/dhasenc.rb
-${RUBY_EG}/drb/dlogc.rb
-${RUBY_EG}/drb/dlogd.rb
-${RUBY_EG}/drb/dqin.rb
-${RUBY_EG}/drb/dqlib.rb
-${RUBY_EG}/drb/dqout.rb
-${RUBY_EG}/drb/dqueue.rb
-${RUBY_EG}/drb/drbc.rb
-${RUBY_EG}/drb/drbch.rb
-${RUBY_EG}/drb/drbm.rb
-${RUBY_EG}/drb/drbmc.rb
-${RUBY_EG}/drb/drbs-acl.rb
-${RUBY_EG}/drb/drbs.rb
-${RUBY_EG}/drb/drbssl_c.rb
-${RUBY_EG}/drb/drbssl_s.rb
-${RUBY_EG}/drb/extserv_test.rb
-${RUBY_EG}/drb/gw_ct.rb
-${RUBY_EG}/drb/gw_cu.rb
-${RUBY_EG}/drb/gw_s.rb
-${RUBY_EG}/drb/holderc.rb
-${RUBY_EG}/drb/holders.rb
-${RUBY_EG}/drb/http0.rb
-${RUBY_EG}/drb/http0serv.rb
-${RUBY_EG}/drb/name.rb
-${RUBY_EG}/drb/namec.rb
-${RUBY_EG}/drb/old_tuplespace.rb
-${RUBY_EG}/drb/rinda_ts.rb
-${RUBY_EG}/drb/rindac.rb
-${RUBY_EG}/drb/rindas.rb
-${RUBY_EG}/drb/ring_echo.rb
-${RUBY_EG}/drb/ring_inspect.rb
-${RUBY_EG}/drb/ring_place.rb
-${RUBY_EG}/drb/simpletuple.rb
-${RUBY_EG}/drb/speedc.rb
-${RUBY_EG}/drb/speeds.rb
-${RUBY_EG}/dualstack-fetch.rb
-${RUBY_EG}/dualstack-httpd.rb
-${RUBY_EG}/eval.rb
-${RUBY_EG}/export.rb
-${RUBY_EG}/exyacc.rb
-${RUBY_EG}/fact.rb
-${RUBY_EG}/fib.awk
-${RUBY_EG}/fib.pl
-${RUBY_EG}/fib.py
-${RUBY_EG}/fib.rb
-${RUBY_EG}/fib.scm
-${RUBY_EG}/freq.rb
-${RUBY_EG}/from.rb
-${RUBY_EG}/fullpath.rb
-${RUBY_EG}/less.rb
-${RUBY_EG}/list.rb
-${RUBY_EG}/list2.rb
-${RUBY_EG}/list3.rb
-${RUBY_EG}/logger/app.rb
-${RUBY_EG}/logger/log.rb
-${RUBY_EG}/logger/shifting.rb
-${RUBY_EG}/mine.rb
-${RUBY_EG}/mkproto.rb
-${RUBY_EG}/mpart.rb
-${RUBY_EG}/observ.rb
-${RUBY_EG}/occur.pl
-${RUBY_EG}/occur.rb
-${RUBY_EG}/occur2.rb
-${RUBY_EG}/openssl/c_rehash.rb
-${RUBY_EG}/openssl/cert2text.rb
-${RUBY_EG}/openssl/certstore.rb
-${RUBY_EG}/openssl/cipher.rb
-${RUBY_EG}/openssl/crlstore.rb
-${RUBY_EG}/openssl/echo_cli.rb
-${RUBY_EG}/openssl/echo_svr.rb
-${RUBY_EG}/openssl/gen_csr.rb
-${RUBY_EG}/openssl/smime_read.rb
-${RUBY_EG}/openssl/smime_write.rb
-${RUBY_EG}/openssl/wget.rb
-${RUBY_EG}/optparse/opttest.rb
-${RUBY_EG}/optparse/subcommand.rb
-${RUBY_EG}/philos.rb
-${RUBY_EG}/pi.rb
-${RUBY_EG}/pty/expect_sample.rb
-${RUBY_EG}/pty/script.rb
-${RUBY_EG}/pty/shl.rb
-${RUBY_EG}/rcs.awk
-${RUBY_EG}/rcs.dat
-${RUBY_EG}/rcs.rb
-${RUBY_EG}/rdoc/markup/rdoc2latex.rb
-${RUBY_EG}/rdoc/markup/sample.rb
-${RUBY_EG}/ripper/ruby2html.rb
-${RUBY_EG}/ripper/strip-comment.rb
-${RUBY_EG}/rss/blend.rb
-${RUBY_EG}/rss/convert.rb
-${RUBY_EG}/rss/list_description.rb
-${RUBY_EG}/rss/re_read.rb
-${RUBY_EG}/rss/rss_recent.rb
-${RUBY_EG}/sieve.rb
-${RUBY_EG}/svr.rb
-${RUBY_EG}/test.rb
-${RUBY_EG}/testunit/adder.rb
-${RUBY_EG}/testunit/subtracter.rb
-${RUBY_EG}/testunit/tc_adder.rb
-${RUBY_EG}/testunit/tc_subtracter.rb
-${RUBY_EG}/testunit/ts_examples.rb
-${RUBY_EG}/time.rb
-${RUBY_EG}/timeout.rb
-${RUBY_EG}/trojan.rb
-${RUBY_EG}/tsvr.rb
-${RUBY_EG}/uumerge.rb
-${RUBY_EG}/webrick/demo-app.rb
-${RUBY_EG}/webrick/demo-multipart.cgi
-${RUBY_EG}/webrick/demo-servlet.rb
-${RUBY_EG}/webrick/demo-urlencoded.cgi
-${RUBY_EG}/webrick/hello.cgi
-${RUBY_EG}/webrick/hello.rb
-${RUBY_EG}/webrick/httpd.rb
-${RUBY_EG}/webrick/httpproxy.rb
-${RUBY_EG}/webrick/httpsd.rb
-@pkgdir ${RUBY_SITEARCHLIB}
-@pkgdir ${RUBY_VENDORARCHLIB}
-@pkgdir ${GEM_HOME}/build_info
-@pkgdir ${GEM_HOME}/cache
-@pkgdir ${GEM_HOME}/doc
-@pkgdir ${RUBY_SITERIDIR}
diff --git a/lang/ruby193-base/distinfo b/lang/ruby193-base/distinfo
deleted file mode 100644
index a47e8c2d9f5..00000000000
--- a/lang/ruby193-base/distinfo
+++ /dev/null
@@ -1,51 +0,0 @@
-$NetBSD: distinfo,v 1.46 2015/11/03 22:50:43 agc Exp $
-
-SHA1 (ruby-1.9.3-p551.tar.bz2) = 35600f4e2ac98653fa8a634104cb6ab3d47a1535
-RMD160 (ruby-1.9.3-p551.tar.bz2) = 59cfcaf4e02957f53bf83557962b0d428156bc01
-SHA512 (ruby-1.9.3-p551.tar.bz2) = 5ea40f8c40cf116030ffdedbe436c1fdbf9a50b7bb44bc890845c9c2a885c34da711bc1a9e9694788c2f4710f7e6e0adc4410aec1ab18a25a27168f25ac3d68c
-Size (ruby-1.9.3-p551.tar.bz2) = 10049332 bytes
-SHA1 (patch-configure) = 1ee484ad481734a49824a1a1f8bb5f8f96f6606a
-SHA1 (patch-configure.in) = 09dfe819b6a9bd7c9af704eeaef659857d33d0c3
-SHA1 (patch-defs_default__gems) = fb24111736f1a76a05e853aa068024dbdd24e5a5
-SHA1 (patch-ext_dbm_extconf.rb) = cc16af8f4999ef6c54c9652e2748504c31e5ef4e
-SHA1 (patch-ext_dl_extconf.rb) = aed210606893d2b9c463d794df039f06003848e4
-SHA1 (patch-ext_openssl_extconf.rb) = 5f64e97f1a563db4daa371d52bb6dbfb54c1f01c
-SHA1 (patch-ext_openssl_ossl_ssl.c) = a2fd301c45b2677c8c7293222f6f797eff7ac7db
-SHA1 (patch-ext_tk_extconf.rb) = 7cda490107ce8d23644152feeade8a8cf21d9898
-SHA1 (patch-ext_tk_lib_tk.rb) = 78034ed6fa0f24099ce06a717da2423731b276cb
-SHA1 (patch-ext_tk_lib_tk_autoload.rb) = e8bcb93feae90fd46531a412f6c963a6d5d2c132
-SHA1 (patch-ext_tk_lib_tk_fontchooser.rb) = cb0155332e5f519ada386fae770cd2f879527323
-SHA1 (patch-ext_tk_lib_tk_tk__mac.rb) = c7b946dd8d37014d9cd43ce787fbb560a21cce2e
-SHA1 (patch-ext_tk_lib_tkextlib_tcllib_validator.rb) = 4e429b8775f9a079e5338d58db7520179566c4b7
-SHA1 (patch-ext_tk_lib_tkextlib_tile_treeview.rb) = e31201b5d0f5c333f14b795ac5e670fdb9a250cf
-SHA1 (patch-ext_tk_lib_tkextlib_tkimg_dted.rb) = c73d94032c22cbefb55daee2ba359d70751b1416
-SHA1 (patch-ext_tk_lib_tkextlib_tkimg_raw.rb) = 2c99d8f59c0ad5d6a493dd6e663850262487f5ef
-SHA1 (patch-ext_tk_tcltklib.c) = c58bffdde4a89ea7c442b1cf37c12c5ce53ee890
-SHA1 (patch-lib_mkmf.rb) = ddf539a6c0fa91b751a59788e5dd933fc97d31db
-SHA1 (patch-lib_rdoc_ri_driver.rb) = acb4cb022893eb8dea2adf7564f5e5e1a0f1e9c8
-SHA1 (patch-lib_rdoc_text.rb) = cfbf48096ce14da8016177f6a8e6ef4416929647
-SHA1 (patch-lib_rubygems.rb) = e472c981e544b75c3762385895c9a0197be9badd
-SHA1 (patch-lib_rubygems_command.rb) = 916a93372e714b56a741acc15350536194f34c77
-SHA1 (patch-lib_rubygems_command__manager.rb) = 4fabf9a6c8bf5e47a4fb3bb3d398105b4452ec7e
-SHA1 (patch-lib_rubygems_commands_install__command.rb) = ff637f39f3fd76b7550fd7f8c32fe303eec6f8c3
-SHA1 (patch-lib_rubygems_commands_setup__command.rb) = 85b666544fc0787e67bb54071d8660cbfe3015d6
-SHA1 (patch-lib_rubygems_commands_uninstall__command.rb) = 7d8dd07d332f0e89822d06f2d71e7552358107cc
-SHA1 (patch-lib_rubygems_commands_unpack__command.rb) = b8e18f1feedb7966e2a5280d6020c6134a7d83a3
-SHA1 (patch-lib_rubygems_config__file.rb) = ed4ff25ea89a2d13ee601c7edfda0902f08fe29c
-SHA1 (patch-lib_rubygems_defaults.rb) = 101a6e653ef3811cdda3ed333b50448c0d3f0d26
-SHA1 (patch-lib_rubygems_dependency__installer.rb) = 8832e6d0157191b1c137ad7ad7ba5429bcfadd5a
-SHA1 (patch-lib_rubygems_doc__manager.rb) = 4b2d70e5dfaeff1f1b70ff27f1084065dcc742d3
-SHA1 (patch-lib_rubygems_gem__runner.rb) = 03ff2f0b72004ef7e09b5ba9d56752109e4e6b73
-SHA1 (patch-lib_rubygems_install__update__options.rb) = 74f81900c92bc3c7a663a112cccf6ff88b6ae180
-SHA1 (patch-lib_rubygems_installer.rb) = fe1c97abaf0b7a3fbecf8327a6d1ccd697cb62cc
-SHA1 (patch-lib_rubygems_platform.rb) = af6ceaea50c0ccdf0539f79eb25d2afef7c05e73
-SHA1 (patch-lib_rubygems_specification.rb) = 3da23596f701c1966bc12f2341c82f2f2c646779
-SHA1 (patch-lib_rubygems_uninstaller.rb) = 038df207f0ad4ef674ff60976fcda969d50c3c4e
-SHA1 (patch-man_erb.1) = a8f69ebb02b4d5e1c80b270a3d683c23d8dfbcf1
-SHA1 (patch-man_irb.1) = 58fcccbb5f5f76450715cbf246a018af58d9b57e
-SHA1 (patch-man_ri.1) = 25d82d08a9eb74ccc1cbbc1fc324d23f1a56ed64
-SHA1 (patch-man_ruby.1) = 43c638a38bed8257f33d8f5a491acd77a18032b7
-SHA1 (patch-pack.c) = d1e2c9871d2ba012a9136bdf708c2d42588d863c
-SHA1 (patch-test_rubygems_test__gem.rb) = fe8b8e436b255595122d2a01462ba0a686575f24
-SHA1 (patch-tool_rbinstall.rb) = f0497085a09b31145f57028b30e335b09acabcff
-SHA1 (patch-vsnprintf.c) = 7bb4ca07381536717518143ef7803634168ca9fa
diff --git a/lang/ruby193-base/hacks.mk b/lang/ruby193-base/hacks.mk
deleted file mode 100644
index 9a6903f7093..00000000000
--- a/lang/ruby193-base/hacks.mk
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD: hacks.mk,v 1.6 2014/12/15 11:46:35 jperkin Exp $
-
-.if !defined(RUBY193_BASE_HACKS_MK)
-RUBY193_BASE_HACKS_MK= defined
-
-.include "../../mk/compiler.mk"
-
-### [ Sun Jun 5 10:05:39 CEST 2005 : seb ]
-### On NetBSD/sparc64, gcc optimisation, at least for version 3.3.3,
-### produces segmentation faulting miniruby binary.
-### Also note that `-O' level optimisation produces a miniruby
-### binary that loops while running the installation scripts.
-###
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
-. if !empty(CC_VERSION:Mgcc-3.3.*)
-PKG_HACKS+= optimisation
-BUILDLINK_TRANSFORM+= rm:-O[0-9]*
-. endif
-### ruby193 binary built on NetBSD/sparc64 with gcc 4.5.1 and the default -O2
-### dumps core during generating RDocs.
-### Using -O1 works around.
-. if !empty(CC_VERSION:Mgcc-4.5.*)
-PKG_HACKS+= optimisation
-BUILDLINK_TRANSFORM+= opt:-O2:-O1
-. endif
-.endif
-
-# On NetBSD/sh3el 6.0, the default -Os causes an error on compiling node.c:
-# {standard input}: Assembler messages: {standard input}:1458: \
-# Error: pcrel too far
-# and -O1 works around.
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-sh3*) && !empty(CC_VERSION:Mgcc-4.5.*)
-PKG_HACKS+= optimisation
-BUILDLINK_TRANSFORM+= opt:-Os:-O1 rm:-freorder-blocks
-.endif
-
-.endif # RUBY193_BASE_HACKS_MK
diff --git a/lang/ruby193-base/options.mk b/lang/ruby193-base/options.mk
deleted file mode 100644
index ae9ba715639..00000000000
--- a/lang/ruby193-base/options.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# $NetBSD: options.mk,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.ruby
-PKG_SUPPORTED_OPTIONS= ruby-build-ri-db
-PKG_SUGGESTED_OPTIONS= ruby-build-ri-db
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mruby-build-ri-db)
-#PRIVILEGED_STAGES+= clean
-RUBY_DYNAMIC_DIRS+= ${RUBY_SYSRIDIR}
-# Use huge memory.
-UNLIMIT_RESOURCES+= datasize
-.else
-CONFIGURE_ARGS+= --enable-install-doc=no
-.endif
diff --git a/lang/ruby193-base/patches/patch-configure b/lang/ruby193-base/patches/patch-configure
deleted file mode 100644
index ec59e12915d..00000000000
--- a/lang/ruby193-base/patches/patch-configure
+++ /dev/null
@@ -1,133 +0,0 @@
-$NetBSD: patch-configure,v 1.12 2015/04/03 08:59:08 jperkin Exp $
-
-* Adding Interix and MirBSD support.
-* Ignore doxygen.
-
---- configure.orig 2014-11-13 13:42:20.000000000 +0000
-+++ configure
-@@ -4666,7 +4666,7 @@ esac
- else
- if test x"$target_alias" = x; then
- case "$target_os" in #(
-- darwin*) :
-+ notdarwin*) :
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for real target cpu" >&5
- $as_echo_n "checking for real target cpu... " >&6; }
-@@ -10900,6 +10900,9 @@ esac
- superux*) :
- ac_cv_func_setitimer=no
- ;; #(
-+ interix*) :
-+ LIBS="-lm $LIBS"
-+ ac_cv_func_getpgrp_void=yes ;; #(
- *) :
- LIBS="-lm $LIBS" ;;
- esac
-@@ -11503,7 +11506,13 @@ for ac_header in limits.h sys/file.h sys
- net/socket.h sys/socket.h process.h atomic.h
- do :
- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
--ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
-+#include <sys/types.h>
-+#ifdef HAVE_SYS_TIME_H
-+#include <sys/time.h>
-+#endif
-+
-+"
- if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
- cat >>confdefs.h <<_ACEOF
- #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-@@ -12248,6 +12257,9 @@ fi
- ac_fn_c_check_type "$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "#ifdef HAVE_TIME_H
- #include <time.h>
- #endif
-+#ifdef HAVE_SYS_TIME_H
-+# include <sys/time.h>
-+#endif
- "
- if test "x$ac_cv_type_struct_timespec" = xyes; then :
-
-@@ -14039,6 +14051,8 @@ else
- # ifdef _MSC_VER
- # include <malloc.h>
- # define alloca _alloca
-+# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
-+# include <stdlib.h>
- # else
- # ifdef HAVE_ALLOCA_H
- # include <alloca.h>
-@@ -15991,7 +16005,7 @@ done
- MAINLIBS="-pthread $MAINLIBS" ;; #(
- *) :
- case "$target_os" in #(
-- openbsd*) :
-+ openbsd*|mirbsd*) :
- LIBS="-pthread $LIBS" ;; #(
- *) :
- LIBS="-l$pthread_lib $LIBS" ;;
-@@ -16441,7 +16455,9 @@ esac ;; #(
- interix*) :
- : ${LDSHARED='$(CC) -shared'}
- XLDFLAGS="$XLDFLAGS -Wl,-E"
-+ DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(.TARGET) -Wl,--image-base,$$(($$RANDOM %4096/2*262144+1342177280))'
- LIBPATHFLAG=" -L%1\$-s"
-+ RPATHFLAG=' -Wl,-R%1$-s'
- rb_cv_dlopen=yes ;; #(
- freebsd*|dragonfly*) :
-
-@@ -16453,7 +16469,7 @@ esac ;; #(
- test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED="ld -Bshareable"
- fi
- rb_cv_dlopen=yes ;; #(
-- openbsd*) :
-+ openbsd*|mirbsd*) :
- : ${LDSHARED='$(CC) -shared ${CCDLFLAGS}'}
- if test "$rb_cv_binary_elf" = yes; then
- LDFLAGS="$LDFLAGS -Wl,-E"
-@@ -16984,7 +17000,7 @@ _ACEOF
- freebsd*|dragonfly*) :
-
- SOLIBS='$(LIBS)'
-- LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'
-+ LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)$(TEENY)'
- if test "$rb_cv_binary_elf" != "yes" ; then
- LIBRUBY_SO="$LIBRUBY_SO.\$(TEENY)"
- LIBRUBY_ALIASES=''
-@@ -17001,7 +17017,7 @@ _ACEOF
- LIBRUBY_ALIASES=""
- fi
- ;; #(
-- openbsd*) :
-+ openbsd*|mirbsd*) :
-
- SOLIBS='$(LIBS)'
- LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}`
-@@ -17062,7 +17078,12 @@ esac
- ;; #(
- interix*) :
-
-- LIBRUBYARG_SHARED='-L. -L${libdir} -l$(RUBY_SO_NAME)'
-+ SOLIBS='$(LIBS)'
-+ LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR).$(TEENY)'
-+ # link explicitly to 0x48000000
-+ LIBRUBY_DLDFLAGS='-Wl,-h,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) -Wl,--image-base,1207959552'
-+ LIBRUBYARG_SHARED='-Wl,-R -Wl,${libdir} -L${libdir} -L. -l$(RUBY_SO_NAME)'
-+ LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) lib$(RUBY_SO_NAME).so'
- ;; #(
- *) :
- ;;
-@@ -17125,11 +17146,7 @@ if test "$install_doc" != no; then
- else
- RDOCTARGET="nodoc"
- fi
-- if test "$install_capi" != no -a -n "$DOXYGEN"; then
-- CAPITARGET="capi"
-- else
-- CAPITARGET="nodoc"
-- fi
-+ CAPITARGET="nodoc"
- else
- RDOCTARGET="nodoc"
- CAPITARGET="nodoc"
diff --git a/lang/ruby193-base/patches/patch-configure.in b/lang/ruby193-base/patches/patch-configure.in
deleted file mode 100644
index e9ca4ef7979..00000000000
--- a/lang/ruby193-base/patches/patch-configure.in
+++ /dev/null
@@ -1,113 +0,0 @@
-$NetBSD: patch-configure.in,v 1.10 2013/11/24 14:17:19 taca Exp $
-
-* Adding Interix and MirBSD support.
-* Ignore doxygen.
-
---- configure.in.orig 2013-10-31 14:32:59.000000000 +0000
-+++ configure.in
-@@ -1138,6 +1138,8 @@ main()
- ],
- [superux*], [ ac_cv_func_setitimer=no
- ],
-+[interix*], [ LIBS="-lm $LIBS"
-+ ac_cv_func_getpgrp_void=yes],
- [ LIBS="-lm $LIBS"])
- AC_CHECK_LIB(crypt, crypt)
- AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
-@@ -1178,7 +1180,12 @@ AC_CHECK_HEADERS(limits.h sys/file.h sys
- syscall.h pwd.h grp.h a.out.h utime.h direct.h sys/resource.h \
- sys/mkdev.h sys/utime.h xti.h netinet/in_systm.h float.h ieeefp.h \
- ucontext.h intrinsics.h langinfo.h locale.h sys/sendfile.h time.h \
-- net/socket.h sys/socket.h process.h atomic.h)
-+ net/socket.h sys/socket.h process.h atomic.h,,,[
-+@%:@include <sys/types.h>
-+@%:@ifdef HAVE_SYS_TIME_H
-+@%:@include <sys/time.h>
-+@%:@endif
-+])
-
- AC_TYPE_SIZE_T
- RUBY_CHECK_SIZEOF(size_t, [int long void*], [], [@%:@include <sys/types.h>])
-@@ -1211,6 +1218,9 @@ AC_CHECK_TYPES([struct timeval], [], [],
-
- AC_CHECK_TYPES([struct timespec], [], [], [@%:@ifdef HAVE_TIME_H
- @%:@include <time.h>
-+@%:@endif
-+@%:@ifdef HAVE_SYS_TIME_H
-+@%:@ include <sys/time.h>
- @%:@endif])
-
- AC_CHECK_TYPES([struct timezone], [], [], [@%:@ifdef HAVE_TIME_H
-@@ -1804,7 +1814,7 @@ if test x"$enable_pthread" = xyes; then
- [root], [],
- [c_r], [MAINLIBS="-pthread $MAINLIBS"],
- [AS_CASE(["$target_os"],
-- [openbsd*], [LIBS="-pthread $LIBS"],
-+ [openbsd*|mirbsd*], [LIBS="-pthread $LIBS"],
- [LIBS="-l$pthread_lib $LIBS"])])
- else
- AC_MSG_WARN("Don't know how to find pthread library on your system -- thread support disabled")
-@@ -2035,7 +2045,9 @@ if test "$with_dln_a_out" != yes; then
- rb_cv_dlopen=yes],
- [interix*], [ : ${LDSHARED='$(CC) -shared'}
- XLDFLAGS="$XLDFLAGS -Wl,-E"
-+ DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(.TARGET) -Wl,--image-base,$$(($$RANDOM %4096/2*262144+1342177280))'
- LIBPATHFLAG=" -L%1\$-s"
-+ RPATHFLAG=' -Wl,-R%1$-s'
- rb_cv_dlopen=yes],
- [freebsd*|dragonfly*], [
- : ${LDSHARED='$(CC) -shared'}
-@@ -2046,7 +2058,7 @@ if test "$with_dln_a_out" != yes; then
- test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED="ld -Bshareable"
- fi
- rb_cv_dlopen=yes],
-- [openbsd*], [ : ${LDSHARED='$(CC) -shared ${CCDLFLAGS}'}
-+ [openbsd*|mirbsd*], [ : ${LDSHARED='$(CC) -shared ${CCDLFLAGS}'}
- if test "$rb_cv_binary_elf" = yes; then
- LDFLAGS="$LDFLAGS -Wl,-E"
- fi
-@@ -2347,7 +2359,7 @@ AS_CASE("$enable_shared", [yes], [
- ],
- [freebsd*|dragonfly*], [
- SOLIBS='$(LIBS)'
-- LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'
-+ LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)$(TEENY)'
- if test "$rb_cv_binary_elf" != "yes" ; then
- LIBRUBY_SO="$LIBRUBY_SO.\$(TEENY)"
- LIBRUBY_ALIASES=''
-@@ -2363,7 +2375,7 @@ AS_CASE("$enable_shared", [yes], [
- LIBRUBY_ALIASES=""
- fi
- ],
-- [openbsd*], [
-+ [openbsd*|mirbsd*], [
- SOLIBS='$(LIBS)'
- LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}`
- ],
-@@ -2413,7 +2425,12 @@ AS_CASE("$enable_shared", [yes], [
- LIBRUBY_ALIASES='lib$(RUBY_BASE_NAME).$(MAJOR).$(MINOR).dylib lib$(RUBY_INSTALL_NAME).dylib'
- ],
- [interix*], [
-- LIBRUBYARG_SHARED='-L. -L${libdir} -l$(RUBY_SO_NAME)'
-+ SOLIBS='$(LIBS)'
-+ LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR).$(TEENY)'
-+ # link explicitly to 0x48000000
-+ LIBRUBY_DLDFLAGS='-Wl,-h,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) -Wl,--image-base,1207959552'
-+ LIBRUBYARG_SHARED='-Wl,-R -Wl,${libdir} -L${libdir} -L. -l$(RUBY_SO_NAME)'
-+ LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) lib$(RUBY_SO_NAME).so'
- ])
- ], [
- LIBRUBYARG_SHARED=
-@@ -2458,11 +2475,7 @@ if test "$install_doc" != no; then
- else
- RDOCTARGET="nodoc"
- fi
-- if test "$install_capi" != no -a -n "$DOXYGEN"; then
-- CAPITARGET="capi"
-- else
-- CAPITARGET="nodoc"
-- fi
-+ CAPITARGET="nodoc"
- else
- RDOCTARGET="nodoc"
- CAPITARGET="nodoc"
diff --git a/lang/ruby193-base/patches/patch-defs_default__gems b/lang/ruby193-base/patches/patch-defs_default__gems
deleted file mode 100644
index 63bc9896e1b..00000000000
--- a/lang/ruby193-base/patches/patch-defs_default__gems
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-defs_default__gems,v 1.1 2011/12/04 02:31:54 taca Exp $
-
-Add suffix to default gem's executables files.
-
---- defs/default_gems.orig 2011-07-30 14:19:11.000000000 +0000
-+++ defs/default_gems
-@@ -1,6 +1,6 @@
- # gem versioning file [executable files under bin]
--rake lib/rake/version.rb [rake]
--rdoc lib/rdoc.rb [rdoc ri]
-+rake lib/rake/version.rb [rake193]
-+rdoc lib/rdoc.rb [rdoc193 ri193]
- minitest lib/minitest/unit.rb
- json ext/json/lib/json/version.rb
- io-console ext/io/console/io-console.gemspec
diff --git a/lang/ruby193-base/patches/patch-ext_dbm_extconf.rb b/lang/ruby193-base/patches/patch-ext_dbm_extconf.rb
deleted file mode 100644
index 8c5103c6b5e..00000000000
--- a/lang/ruby193-base/patches/patch-ext_dbm_extconf.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ext_dbm_extconf.rb,v 1.4 2015/01/07 10:35:59 taca Exp $
-
-Fix for Mac OS X 10.4 Tiger.
-
---- ext/dbm/extconf.rb.orig 2014-12-28 14:04:40.000000000 +0000
-+++ ext/dbm/extconf.rb
-@@ -247,7 +247,7 @@ def headers.db_check2(db, hdr)
- have_library("gdbm") or return false
- end
-
-- if have_type("DBM", hdr, hsearch) and
-+ if have_type("DBM", ["db.h", hdr], hsearch) and
- (db == 'libc' ? have_func('dbm_open("", 0, 0)', hdr, hsearch) :
- have_library(db, 'dbm_open("", 0, 0)', hdr, hsearch)) and
- have_func('dbm_clearerr((DBM *)0)', hdr, hsearch) and
diff --git a/lang/ruby193-base/patches/patch-ext_dl_extconf.rb b/lang/ruby193-base/patches/patch-ext_dl_extconf.rb
deleted file mode 100644
index b53ac0371f6..00000000000
--- a/lang/ruby193-base/patches/patch-ext_dl_extconf.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ext_dl_extconf.rb,v 1.1 2013/10/25 21:47:20 joerg Exp $
-
---- ext/dl/extconf.rb.orig 2013-10-15 20:48:38.000000000 +0000
-+++ ext/dl/extconf.rb
-@@ -1,7 +1,7 @@
- require 'mkmf'
-
- if RbConfig::CONFIG['GCC'] == 'yes'
-- $CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer"
-+ $CFLAGS << " -fno-omit-frame-pointer"
- end
-
- $INSTALLFILES = [
diff --git a/lang/ruby193-base/patches/patch-ext_openssl_extconf.rb b/lang/ruby193-base/patches/patch-ext_openssl_extconf.rb
deleted file mode 100644
index d65dfc10815..00000000000
--- a/lang/ruby193-base/patches/patch-ext_openssl_extconf.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ext_openssl_extconf.rb,v 1.1 2015/10/14 18:42:34 sevan Exp $
-
-Check for SSLv3 support as it may nolonger be available
-
---- ext/openssl/extconf.rb.orig Thu Oct 8 12:36:41 2015
-+++ ext/openssl/extconf.rb
-@@ -104,6 +104,9 @@ have_func("OPENSSL_cleanse")
- have_func("SSLv2_method")
- have_func("SSLv2_server_method")
- have_func("SSLv2_client_method")
-+have_func("SSLv3_method")
-+have_func("SSLv3_server_method")
-+have_func("SSLv3_client_method")
- unless have_func("SSL_set_tlsext_host_name", ['openssl/ssl.h'])
- have_macro("SSL_set_tlsext_host_name", ['openssl/ssl.h']) && $defs.push("-DHAVE_SSL_SET_TLSEXT_HOST_NAME")
- end
diff --git a/lang/ruby193-base/patches/patch-ext_openssl_ossl_ssl.c b/lang/ruby193-base/patches/patch-ext_openssl_ossl_ssl.c
deleted file mode 100644
index 0ad95911566..00000000000
--- a/lang/ruby193-base/patches/patch-ext_openssl_ossl_ssl.c
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ext_openssl_ossl_ssl.c,v 1.1 2015/10/14 18:42:34 sevan Exp $
-
-Only enable SSLv3 methods if Library provides support
-
---- ext/openssl/ossl_ssl.c.orig Thu Oct 8 12:43:06 2015
-+++ ext/openssl/ossl_ssl.c
-@@ -113,9 +113,12 @@ struct {
- OSSL_SSL_METHOD_ENTRY(SSLv2_server),
- OSSL_SSL_METHOD_ENTRY(SSLv2_client),
- #endif
-+#if defined(HAVE_SSLV3_METHOD) && defined(HAVE_SSLV3_SERVER_METHOD) && \
-+ defined(HAVE_SSLV3_CLIENT_METHOD)
- OSSL_SSL_METHOD_ENTRY(SSLv3),
- OSSL_SSL_METHOD_ENTRY(SSLv3_server),
- OSSL_SSL_METHOD_ENTRY(SSLv3_client),
-+#endif
- OSSL_SSL_METHOD_ENTRY(SSLv23),
- OSSL_SSL_METHOD_ENTRY(SSLv23_server),
- OSSL_SSL_METHOD_ENTRY(SSLv23_client),
diff --git a/lang/ruby193-base/patches/patch-ext_tk_extconf.rb b/lang/ruby193-base/patches/patch-ext_tk_extconf.rb
deleted file mode 100644
index da5ee7a6e84..00000000000
--- a/lang/ruby193-base/patches/patch-ext_tk_extconf.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ext_tk_extconf.rb,v 1.3 2014/12/14 13:59:53 taca Exp $
-
-* Add tcl/tk 8.6 support.
-
---- ext/tk/extconf.rb.orig 2013-12-22 04:53:40.000000000 +0000
-+++ ext/tk/extconf.rb
-@@ -9,10 +9,10 @@ TkLib_Config['search_versions'] =
- # %w[8.9 8.8 8.7 8.6 8.5 8.4 8.3 8.2 8.1 8.0 7.6 4.2]
- # %w[8.7 8.6 8.5 8.4 8.3 8.2 8.1 8.0]
- # %w[8.7 8.6 8.5 8.4 8.0] # to shorten search steps
-- %w[8.5 8.4] # At present, Tcl/Tk8.6 is not supported.
-+ %w[8.6 8.5 8.4]
-
- TkLib_Config['unsupported_versions'] =
-- %w[8.8 8.7 8.6] # At present, Tcl/Tk8.6 is not supported.
-+ %w[8.8 8.7]
-
- TkLib_Config['major_nums'] = '87'
-
diff --git a/lang/ruby193-base/patches/patch-ext_tk_lib_tk.rb b/lang/ruby193-base/patches/patch-ext_tk_lib_tk.rb
deleted file mode 100644
index a034817fbe5..00000000000
--- a/lang/ruby193-base/patches/patch-ext_tk_lib_tk.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-$NetBSD: patch-ext_tk_lib_tk.rb,v 1.1 2014/12/14 13:59:53 taca Exp $
-
-* Add tcl/tk 8.6 support.
-
---- ext/tk/lib/tk.rb.orig 2011-05-26 23:36:33.000000000 +0000
-+++ ext/tk/lib/tk.rb
-@@ -1309,8 +1309,12 @@ EOS
- end
-
- unless interp.deleted?
-- #Thread.current[:status].value = TclTkLib.mainloop(false)
-- Thread.current[:status].value = interp.mainloop(false)
-+ begin
-+ #Thread.current[:status].value = TclTkLib.mainloop(false)
-+ Thread.current[:status].value = interp.mainloop(false)
-+ rescue Exception=>e
-+ puts "ignore exception on interp: #{e.inspect}\n" if $DEBUG
-+ end
- end
-
- ensure
-@@ -1569,7 +1573,15 @@ EOS
- EOL
- =end
-
-- at_exit{ INTERP.remove_tk_procs(TclTkLib::FINALIZE_PROC_NAME) }
-+ if !WITH_RUBY_VM || RUN_EVENTLOOP_ON_MAIN_THREAD ### check Ruby 1.9 !!!!!!!
-+ at_exit{ INTERP.remove_tk_procs(TclTkLib::FINALIZE_PROC_NAME) }
-+ else
-+ at_exit{
-+ Tk.root.destroy
-+ INTERP.remove_tk_procs(TclTkLib::FINALIZE_PROC_NAME)
-+ INTERP_THREAD.kill.join
-+ }
-+ end
-
- EventFlag = TclTkLib::EventFlag
-
-@@ -5197,6 +5209,8 @@ class TkWindow<TkObject
- TkWinfo.exist?(self)
- end
-
-+ alias subcommand tk_send
-+
- def bind_class
- @db_class || self.class()
- end
-@@ -5742,7 +5756,7 @@ TkWidget = TkWindow
- #Tk.freeze
-
- module Tk
-- RELEASE_DATE = '2010-06-03'.freeze
-+ RELEASE_DATE = '2014-10-19'.freeze
-
- autoload :AUTO_PATH, 'tk/variable'
- autoload :TCL_PACKAGE_PATH, 'tk/variable'
diff --git a/lang/ruby193-base/patches/patch-ext_tk_lib_tk_autoload.rb b/lang/ruby193-base/patches/patch-ext_tk_lib_tk_autoload.rb
deleted file mode 100644
index 9c803860035..00000000000
--- a/lang/ruby193-base/patches/patch-ext_tk_lib_tk_autoload.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ext_tk_lib_tk_autoload.rb,v 1.1 2014/12/14 13:59:53 taca Exp $
-
-* Add tcl/tk 8.6 support.
-
---- ext/tk/lib/tk/autoload.rb.orig 2011-05-15 11:55:52.000000000 +0000
-+++ ext/tk/lib/tk/autoload.rb
-@@ -94,6 +94,8 @@ module Tk
- autoload :Y_Scrollable, 'tk/scrollable'
- autoload :Scrollable, 'tk/scrollable'
-
-+ autoload :Fontchooser, 'tk/fontchooser'
-+
- autoload :Wm, 'tk/wm'
- autoload :Wm_for_General, 'tk/wm'
-
diff --git a/lang/ruby193-base/patches/patch-ext_tk_lib_tk_fontchooser.rb b/lang/ruby193-base/patches/patch-ext_tk_lib_tk_fontchooser.rb
deleted file mode 100644
index 3f26d7a334e..00000000000
--- a/lang/ruby193-base/patches/patch-ext_tk_lib_tk_fontchooser.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ext_tk_lib_tk_fontchooser.rb,v 1.1 2014/12/14 13:59:53 taca Exp $
-
-* Add tcl/tk 8.6 support.
-
---- ext/tk/lib/tk/fontchooser.rb.orig 2011-05-15 11:55:52.000000000 +0000
-+++ ext/tk/lib/tk/fontchooser.rb
-@@ -8,6 +8,10 @@ module TkFont::Chooser
- extend TkCore
- end
-
-+module Tk
-+ Fontchooser = TkFont::Chooser
-+end
-+
- class << TkFont::Chooser
- def method_missing(id, *args)
- name = id.id2name
diff --git a/lang/ruby193-base/patches/patch-ext_tk_lib_tk_tk__mac.rb b/lang/ruby193-base/patches/patch-ext_tk_lib_tk_tk__mac.rb
deleted file mode 100644
index 37617be6372..00000000000
--- a/lang/ruby193-base/patches/patch-ext_tk_lib_tk_tk__mac.rb
+++ /dev/null
@@ -1,165 +0,0 @@
-$NetBSD: patch-ext_tk_lib_tk_tk__mac.rb,v 1.1 2014/12/14 13:59:53 taca Exp $
-
-* Add tcl/tk 8.6 support.
-
---- /dev/null 2014-10-27 05:11:12.000000000 +0000
-+++ ext/tk/lib/tk/tk_mac.rb
-@@ -0,0 +1,158 @@
-+#
-+# tk/tk_mac.rb : Access Mac-Specific functionality on OS X from Tk
-+# (supported by Tk8.6 or later)
-+#
-+# ATTENTION !!
-+# This is NOT TESTED. Because I have no test-environment.
-+#
-+require 'tk'
-+
-+module Tk
-+ module Mac
-+ end
-+end
-+
-+module Tk::Mac
-+ extend TkCore
-+
-+ # event handler callbacks
-+ def self.def_ShowPreferences(cmd=Proc.new)
-+ ip_eval("proc ::tk::mac::ShowPreferences {} { #{install_cmd(cmd)} }")
-+ nil
-+ end
-+
-+ def self.def_OpenApplication(cmd=Proc.new)
-+ ip_eval("proc ::tk::mac::OpenApplication {} { #{install_cmd(cmd)} }")
-+ nil
-+ end
-+
-+ def self.def_ReopenApplication(cmd=Proc.new)
-+ ip_eval("proc ::tk::mac::ReopenApplication {} { #{install_cmd(cmd)} }")
-+ nil
-+ end
-+
-+ def self.def_OpenDocument(cmd=Proc.new)
-+ ip_eval("proc ::tk::mac::OpenDocument {args} { eval #{install_cmd(cmd)} $args }")
-+ nil
-+ end
-+
-+ def self.def_PrintDocument(cmd=Proc.new)
-+ ip_eval("proc ::tk::mac::PrintDocument {args} { eval #{install_cmd(cmd)} $args }")
-+ nil
-+ end
-+
-+ def self.def_Quit(cmd=Proc.new)
-+ ip_eval("proc ::tk::mac::Quit {} { #{install_cmd(cmd)} }")
-+ nil
-+ end
-+
-+ def self.def_OnHide(cmd=Proc.new)
-+ ip_eval("proc ::tk::mac::OnHide {} { #{install_cmd(cmd)} }")
-+ nil
-+ end
-+
-+ def self.def_OnShow(cmd=Proc.new)
-+ ip_eval("proc ::tk::mac::OnShow {} { #{install_cmd(cmd)} }")
-+ nil
-+ end
-+
-+ def self.def_ShowHelp(cmd=Proc.new)
-+ ip_eval("proc ::tk::mac::ShowHelp {} { #{install_cmd(cmd)} }")
-+ nil
-+ end
-+
-+
-+ # additional dialogs
-+ def self.standardAboutPanel
-+ tk_call('::tk::mac::standardAboutPanel')
-+ nil
-+ end
-+
-+
-+ # system configuration
-+ def self.useCompatibilityMetrics(mode)
-+ tk_call('::tk::mac::useCompatibilityMetrics', mode)
-+ nil
-+ end
-+
-+ def self.CGAntialiasLimit(limit)
-+ tk_call('::tk::mac::CGAntialiasLimit', limit)
-+ nil
-+ end
-+
-+ def self.antialiasedtext(num)
-+ tk_call('::tk::mac::antialiasedtext', num)
-+ nil
-+ end
-+
-+ def self.useThemedToplevel(mode)
-+ tk_call('::tk::mac::useThemedToplevel', mode)
-+ nil
-+ end
-+
-+end
-+
-+class Tk::Mac::IconBitmap < TkImage
-+ TkCommandNames = ['::tk::mac::iconBitmap'].freeze
-+
-+ def self.new(width, height, keys)
-+ if keys.kind_of?(Hash)
-+ name = nil
-+ if keys.key?(:imagename)
-+ name = keys[:imagename]
-+ elsif keys.key?('imagename')
-+ name = keys['imagename']
-+ end
-+ if name
-+ if name.kind_of?(TkImage)
-+ obj = name
-+ else
-+ name = _get_eval_string(name)
-+ obj = nil
-+ Tk_IMGTBL.mutex.synchronize{
-+ obj = Tk_IMGTBL[name]
-+ }
-+ end
-+ if obj
-+ if !(keys[:without_creating] || keys['without_creating'])
-+ keys = _symbolkey2str(keys)
-+ keys.delete('imagename')
-+ keys.delete('without_creating')
-+ obj.instance_eval{
-+ tk_call_without_enc('::tk::mac::iconBitmap',
-+ @path, width, height, *hash_kv(keys, true))
-+ }
-+ end
-+ return obj
-+ end
-+ end
-+ end
-+ (obj = self.allocate).instance_eval{
-+ Tk_IMGTBL.mutex.synchronize{
-+ initialize(width, height, keys)
-+ Tk_IMGTBL[@path] = self
-+ }
-+ }
-+ obj
-+ end
-+
-+ def initialize(width, height, keys)
-+ @path = nil
-+ without_creating = false
-+ if keys.kind_of?(Hash)
-+ keys = _symbolkey2str(keys)
-+ @path = keys.delete('imagename')
-+ without_creating = keys.delete('without_creating')
-+ end
-+ unless @path
-+ Tk_Image_ID.mutex.synchronize{
-+ @path = Tk_Image_ID.join(TkCore::INTERP._ip_id_)
-+ Tk_Image_ID[1].succ!
-+ }
-+ end
-+ unless without_creating
-+ tk_call_without_enc('::tk::mac::iconBitmap',
-+ @path, width, height, *hash_kv(keys, true))
-+ end
-+ end
-+end
diff --git a/lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tcllib_validator.rb b/lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tcllib_validator.rb
deleted file mode 100644
index 7a4dd10af36..00000000000
--- a/lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tcllib_validator.rb
+++ /dev/null
@@ -1,72 +0,0 @@
-$NetBSD: patch-ext_tk_lib_tkextlib_tcllib_validator.rb,v 1.1 2014/12/14 13:59:53 taca Exp $
-
-* Add tcl/tk 8.6 support.
-
---- /dev/null 2014-10-27 05:13:29.000000000 +0000
-+++ ext/tk/lib/tkextlib/tcllib/validator.rb
-@@ -0,0 +1,65 @@
-+#
-+# tkextlib/tcllib/validator.rb
-+# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
-+#
-+# * Part of tcllib extension
-+# * Provides a unified validation API
-+#
-+
-+require 'tk'
-+require 'tkextlib/tcllib.rb'
-+
-+# TkPackage.require('widget::validator', '0.1')
-+TkPackage.require('widget::validator')
-+
-+module Tk::Tcllib
-+ module Validator
-+ PACKAGE_NAME = 'widget::validator'.freeze
-+ def self.package_name
-+ PACKAGE_NAME
-+ end
-+
-+ def self.package_version
-+ begin
-+ TkPackage.require('widget::validator')
-+ rescue
-+ ''
-+ end
-+ end
-+ end
-+end
-+
-+module Tk::Tcllib::Validator
-+ extend TkCore
-+
-+ def self.attach(widget, color, cmd=Proc.new)
-+ tk_call_without_enc('::widget::validator', 'attach', widget, color, cmd)
-+ nil
-+ end
-+
-+ def self.detach(widget)
-+ tk_call_without_enc('::widget::validator', 'detach', widget)
-+ nil
-+ end
-+
-+ def self.validate(widget)
-+ tk_call_without_enc('::widget::validator', 'validate', widget)
-+ nil
-+ end
-+
-+ def attach_validator(color, cmd=Proc.new)
-+ tk_call_without_enc('::widget::validator', 'attach', @path, color, cmd)
-+ self
-+ end
-+
-+ def detach_validator(color, cmd=Proc.new)
-+ tk_call_without_enc('::widget::validator', 'detach', @path)
-+ self
-+ end
-+
-+ def invoke_validator(color, cmd=Proc.new)
-+ tk_call_without_enc('::widget::validator', 'validate', @path)
-+ self
-+ end
-+ alias validate_validator invoke_validator
-+end
diff --git a/lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tile_treeview.rb b/lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tile_treeview.rb
deleted file mode 100644
index 94f33d40c23..00000000000
--- a/lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tile_treeview.rb
+++ /dev/null
@@ -1,50 +0,0 @@
-$NetBSD: patch-ext_tk_lib_tkextlib_tile_treeview.rb,v 1.1 2014/12/14 13:59:53 taca Exp $
-
-* Add tcl/tk 8.6 support.
-
---- ext/tk/lib/tkextlib/tile/treeview.rb.orig 2009-10-02 10:45:39.000000000 +0000
-+++ ext/tk/lib/tkextlib/tile/treeview.rb
-@@ -986,6 +986,18 @@ class Tk::Tile::Treeview::Tag < TkObject
- end
- alias added? tag_has?
-
-+ def tag_has
-+ @t.tag_has(@id)
-+ end
-+
-+ def add(*items)
-+ @t.tag_add(@id, *items)
-+ end
-+
-+ def remove(*items)
-+ @t.tag_remove(@id, *items)
-+ end
-+
- def bind(seq, *args)
- if TkComm._callback_entry?(args[0]) || !block_given?
- cmd = args.shift
-@@ -1299,6 +1311,24 @@ class Tk::Tile::Treeview < TkWindow
- _bindinfo([@path, 'tag', 'bind', tag], context)
- end
- alias tagbindinfo tag_bindinfo
-+
-+ def tag_names
-+ tk_split_simplelist(tk_send('tag', 'names')).collect{|id|
-+ Tk::Tile::Treeview::Tag.id2obj(self, id)
-+ }
-+ end
-+
-+ def tag_add(tag, *items)
-+ fail ArgumentError, "no target items" if items.empty?
-+ tk_send('tag', 'add', tagid(tag), *(items.collect{|item| tagid(item)}))
-+ self
-+ end
-+
-+ def tag_remove(tag, *items)
-+ tk_send('tag', 'remove', tagid(tag), *(items.collect{|item| tagid(item)}))
-+ self
-+ end
-+
- end
-
- #Tk.__set_toplevel_aliases__(:Ttk, Tk::Tile::Treeview, :TkTreeview)
diff --git a/lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tkimg_dted.rb b/lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tkimg_dted.rb
deleted file mode 100644
index 9057fee2413..00000000000
--- a/lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tkimg_dted.rb
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-ext_tk_lib_tkextlib_tkimg_dted.rb,v 1.1 2014/12/14 13:59:53 taca Exp $
-
-* Add tcl/tk 8.6 support.
-
---- /dev/null 2014-10-27 05:15:45.000000000 +0000
-+++ ext/tk/lib/tkextlib/tkimg/dted.rb
-@@ -0,0 +1,33 @@
-+#
-+# TkImg - format 'DTED'
-+# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
-+#
-+require 'tk'
-+
-+# call setup script for general 'tkextlib' libraries
-+require 'tkextlib/setup.rb'
-+
-+# call setup script
-+require 'tkextlib/tkimg/setup.rb'
-+
-+# TkPackage.require('img::dted', '1.4')
-+TkPackage.require('img::dted')
-+
-+module Tk
-+ module Img
-+ module DTED
-+ PACKAGE_NAME = 'img::dted'.freeze
-+ def self.package_name
-+ PACKAGE_NAME
-+ end
-+
-+ def self.package_version
-+ begin
-+ TkPackage.require('img::dted')
-+ rescue
-+ ''
-+ end
-+ end
-+ end
-+ end
-+end
diff --git a/lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tkimg_raw.rb b/lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tkimg_raw.rb
deleted file mode 100644
index e2d043a41f4..00000000000
--- a/lang/ruby193-base/patches/patch-ext_tk_lib_tkextlib_tkimg_raw.rb
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-ext_tk_lib_tkextlib_tkimg_raw.rb,v 1.1 2014/12/14 13:59:53 taca Exp $
-
-* Add tcl/tk 8.6 support.
-
---- /dev/null 2014-10-27 05:16:13.000000000 +0000
-+++ ext/tk/lib/tkextlib/tkimg/raw.rb
-@@ -0,0 +1,33 @@
-+#
-+# TkImg - format 'Raw Data'
-+# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
-+#
-+require 'tk'
-+
-+# call setup script for general 'tkextlib' libraries
-+require 'tkextlib/setup.rb'
-+
-+# call setup script
-+require 'tkextlib/tkimg/setup.rb'
-+
-+# TkPackage.require('img::raw', '1.4')
-+TkPackage.require('img::raw')
-+
-+module Tk
-+ module Img
-+ module Raw
-+ PACKAGE_NAME = 'img::raw'.freeze
-+ def self.package_name
-+ PACKAGE_NAME
-+ end
-+
-+ def self.package_version
-+ begin
-+ TkPackage.require('img::raw')
-+ rescue
-+ ''
-+ end
-+ end
-+ end
-+ end
-+end
diff --git a/lang/ruby193-base/patches/patch-ext_tk_tcltklib.c b/lang/ruby193-base/patches/patch-ext_tk_tcltklib.c
deleted file mode 100644
index 69ab8e92b6f..00000000000
--- a/lang/ruby193-base/patches/patch-ext_tk_tcltklib.c
+++ /dev/null
@@ -1,195 +0,0 @@
-$NetBSD: patch-ext_tk_tcltklib.c,v 1.1 2014/12/14 13:59:53 taca Exp $
-
-* Add tcl/tk 8.6 support.
-
---- ext/tk/tcltklib.c.orig 2014-01-30 05:32:32.000000000 +0000
-+++ ext/tk/tcltklib.c
-@@ -2046,6 +2046,7 @@ call_DoOneEvent(flag_val)
- #endif
-
-
-+#if 0
- static VALUE
- #ifdef HAVE_PROTOTYPES
- eventloop_sleep(VALUE dummy)
-@@ -2085,6 +2086,7 @@ eventloop_sleep(dummy)
-
- return Qnil;
- }
-+#endif
-
- #define USE_EVLOOP_THREAD_ALONE_CHECK_FLAG 0
-
-@@ -6023,7 +6025,12 @@ ip_rbNamespaceObjCmd(clientData, interp,
- Tcl_CmdInfo info;
- int ret;
-
-+ DUMP1("call ip_rbNamespaceObjCmd");
-+ DUMP2("objc = %d", objc);
-+ DUMP2("objv[0] = '%s'", Tcl_GetString(objv[0]));
-+ DUMP2("objv[1] = '%s'", Tcl_GetString(objv[1]));
- if (!Tcl_GetCommandInfo(interp, "__orig_namespace_command__", &(info))) {
-+ DUMP1("fail to get __orig_namespace_command__");
- Tcl_ResetResult(interp);
- Tcl_AppendResult(interp,
- "invalid command name \"namespace\"", (char*)NULL);
-@@ -6031,15 +6038,38 @@ ip_rbNamespaceObjCmd(clientData, interp,
- }
-
- rbtk_eventloop_depth++;
-- /* DUMP2("namespace wrapper enter depth == %d", rbtk_eventloop_depth); */
-+ DUMP2("namespace wrapper enter depth == %d", rbtk_eventloop_depth);
-
- if (info.isNativeObjectProc) {
-+#if TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 6
-+ DUMP1("call a native-object-proc");
- ret = (*(info.objProc))(info.objClientData, interp, objc, objv);
-+#else
-+ /* Tcl8.6 or later */
-+ int i;
-+ Tcl_Obj **cp_objv;
-+ char org_ns_cmd_name[] = "__orig_namespace_command__";
-+
-+ DUMP1("call a native-object-proc for tcl8.6 or later");
-+ cp_objv = (Tcl_Obj **)ckalloc(sizeof(Tcl_Obj *) * (objc + 1));
-+
-+ cp_objv[0] = Tcl_NewStringObj(org_ns_cmd_name, strlen(org_ns_cmd_name));
-+ for(i = 1; i < objc; i++) {
-+ cp_objv[i] = objv[i];
-+ }
-+ cp_objv[objc] = (Tcl_Obj *)NULL;
-+
-+ /* ret = Tcl_EvalObjv(interp, objc, cp_objv, TCL_EVAL_DIRECT); */
-+ ret = Tcl_EvalObjv(interp, objc, cp_objv, 0);
-+
-+ ckfree((char*)cp_objv);
-+#endif
- } else {
- /* string interface */
- int i;
- char **argv;
-
-+ DUMP1("call with the string-interface");
- /* argv = (char **)Tcl_Alloc(sizeof(char *) * (objc + 1)); */
- argv = (char **)ckalloc(sizeof(char *) * (objc + 1));
- #if 0 /* use Tcl_Preserve/Release */
-@@ -6067,9 +6097,10 @@ ip_rbNamespaceObjCmd(clientData, interp,
- #endif
- }
-
-- /* DUMP2("namespace wrapper exit depth == %d", rbtk_eventloop_depth); */
-+ DUMP2("namespace wrapper exit depth == %d", rbtk_eventloop_depth);
- rbtk_eventloop_depth--;
-
-+ DUMP1("end of ip_rbNamespaceObjCmd");
- return ret;
- }
- #endif
-@@ -6079,6 +6110,8 @@ ip_wrap_namespace_command(interp)
- Tcl_Interp *interp;
- {
- #if TCL_MAJOR_VERSION >= 8
-+
-+#if TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 6
- Tcl_CmdInfo orig_info;
-
- if (!Tcl_GetCommandInfo(interp, "namespace", &(orig_info))) {
-@@ -6095,6 +6128,11 @@ ip_wrap_namespace_command(interp)
- orig_info.deleteProc);
- }
-
-+#else /* tcl8.6 or later */
-+ Tcl_GlobalEval(interp, "rename namespace __orig_namespace_command__");
-+
-+#endif
-+
- Tcl_CreateObjCommand(interp, "namespace", ip_rbNamespaceObjCmd,
- (ClientData) 0, (Tcl_CmdDeleteProc *)NULL);
- #endif
-@@ -8475,15 +8513,28 @@ invoke_tcl_proc(arg)
- #endif
- {
- struct invoke_info *inf = (struct invoke_info *)arg;
-+
-+#if TCL_MAJOR_VERSION >= 8 && TCL_MINOR_VERSION < 6
- int i, len;
--#if TCL_MAJOR_VERSION >= 8
- int argc = inf->objc;
- char **argv = (char **)NULL;
- #endif
-
-+ DUMP1("call invoke_tcl_proc");
-+
-+#if TCL_MAJOR_VERSION > 8 || (TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION >= 6)
-+
-+ /* eval */
-+ inf->ptr->return_value = Tcl_EvalObjv(inf->ptr->ip, inf->objc, inf->objv, TCL_EVAL_DIRECT);
-+ /* inf->ptr->return_value = Tcl_EvalObjv(inf->ptr->ip, inf->objc, inf->objv, 0); */
-+
-+#else /* Tcl/Tk 7.x, 8.0 -- 8.5 */
-+
- /* memory allocation for arguments of this command */
--#if TCL_MAJOR_VERSION >= 8
-+#if TCL_MAJOR_VERSION == 8
-+ /* Tcl/Tk 8.0 -- 8.5 */
- if (!inf->cmdinfo.isNativeObjectProc) {
-+ DUMP1("called proc is not a native-obj-proc");
- /* string interface */
- /* argv = (char **)ALLOC_N(char *, argc+1);*/ /* XXXXXXXXXX */
- argv = (char **)ckalloc(sizeof(char *)*(argc+1));
-@@ -8497,11 +8548,14 @@ invoke_tcl_proc(arg)
- }
- #endif
-
-+ DUMP1("reset result of tcl-interp");
- Tcl_ResetResult(inf->ptr->ip);
-
- /* Invoke the C procedure */
--#if TCL_MAJOR_VERSION >= 8
-+#if TCL_MAJOR_VERSION == 8
-+ /* Tcl/Tk 8.0 -- 8.5 */
- if (inf->cmdinfo.isNativeObjectProc) {
-+ DUMP1("call tcl_proc as a native-obj-proc");
- inf->ptr->return_value
- = (*(inf->cmdinfo.objProc))(inf->cmdinfo.objClientData,
- inf->ptr->ip, inf->objc, inf->objv);
-@@ -8509,7 +8563,9 @@ invoke_tcl_proc(arg)
- else
- #endif
- {
--#if TCL_MAJOR_VERSION >= 8
-+#if TCL_MAJOR_VERSION == 8
-+ /* Tcl/Tk 8.0 -- 8.5 */
-+ DUMP1("call tcl_proc as not a native-obj-proc");
- inf->ptr->return_value
- = (*(inf->cmdinfo.proc))(inf->cmdinfo.clientData, inf->ptr->ip,
- argc, (CONST84 char **)argv);
-@@ -8532,6 +8588,9 @@ invoke_tcl_proc(arg)
- #endif
- }
-
-+#endif /* Tcl/Tk 8.6 or later || Tcl 7.x, 8.0 -- 8.5 */
-+
-+ DUMP1("end of invoke_tcl_proc");
- return Qnil;
- }
-
-@@ -8560,7 +8619,6 @@ ip_invoke_core(interp, argc, argv)
- #if 1 /* wrap tcl-proc call */
- struct invoke_info inf;
- int status;
-- VALUE ret;
- #else
- #if TCL_MAJOR_VERSION >= 8
- int argc = objc;
-@@ -8672,7 +8730,9 @@ ip_invoke_core(interp, argc, argv)
- #endif
-
- /* invoke tcl-proc */
-- ret = rb_protect(invoke_tcl_proc, (VALUE)&inf, &status);
-+ DUMP1("invoke tcl-proc");
-+ rb_protect(invoke_tcl_proc, (VALUE)&inf, &status);
-+ DUMP2("status of tcl-proc, %d", status);
- switch(status) {
- case TAG_RAISE:
- if (NIL_P(rb_errinfo())) {
diff --git a/lang/ruby193-base/patches/patch-lib_mkmf.rb b/lang/ruby193-base/patches/patch-lib_mkmf.rb
deleted file mode 100644
index 27f2bd081b6..00000000000
--- a/lang/ruby193-base/patches/patch-lib_mkmf.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-lib_mkmf.rb,v 1.3 2015/04/30 03:25:56 taca Exp $
-
-Avoid to generate empty command line on some platforms:
-
-$(DLLIB): $(OBJS) Makefile
-...
- $(Q) $(POSTLINK)
-
-And POSTLINK is empty macro. In such case, GNU make ignore empty command
-line but BSD make tries to execute it and causes error.
-
---- lib/mkmf.rb.orig 2014-02-06 05:20:52.000000000 +0000
-+++ lib/mkmf.rb
-@@ -1722,6 +1722,7 @@ LDSHARED = #{CONFIG['LDSHARED']}
- LDSHAREDXX = #{config_string('LDSHAREDXX') || '$(LDSHARED)'}
- AR = #{CONFIG['AR']}
- EXEEXT = #{CONFIG['EXEEXT']}
-+POSTLINK = #{CONFIG['POSTLINK']}
-
- RUBY_BASE_NAME = #{CONFIG['RUBY_BASE_NAME']}
- RUBY_INSTALL_NAME = #{CONFIG['RUBY_INSTALL_NAME']}
diff --git a/lang/ruby193-base/patches/patch-lib_rdoc_ri_driver.rb b/lang/ruby193-base/patches/patch-lib_rdoc_ri_driver.rb
deleted file mode 100644
index bfb3e576649..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rdoc_ri_driver.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-$NetBSD: patch-lib_rdoc_ri_driver.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
-
-Defer loading readline, when it is really needed.
-Some unknown reason:
-
-1. build devel/ruby-readline with editline(3).
-2. Execute a ruby script loading readline in background from shell.
-3. When the script output something to stdout, it got SIGTSTP and suspends.
-
-There is no such problem when build devel/ruby-readline with GNU's readline.
-
---- lib/rdoc/ri/driver.rb.orig 2011-08-05 21:21:55.000000000 +0000
-+++ lib/rdoc/ri/driver.rb
-@@ -2,11 +2,6 @@ require 'abbrev'
- require 'optparse'
-
- begin
-- require 'readline'
--rescue LoadError
--end
--
--begin
- require 'win32console'
- rescue LoadError
- end
-@@ -858,6 +853,11 @@ Options may also be set in the 'RI' envi
- # Runs ri interactively using Readline if it is available.
-
- def interactive
-+ begin
-+ require 'readline'
-+ rescue LoadError
-+ end
-+
- puts "\nEnter the method name you want to look up."
-
- if defined? Readline then
diff --git a/lang/ruby193-base/patches/patch-lib_rdoc_text.rb b/lang/ruby193-base/patches/patch-lib_rdoc_text.rb
deleted file mode 100644
index e89bb804234..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rdoc_text.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-lib_rdoc_text.rb,v 1.1 2015/03/08 14:53:39 taca Exp $
-
-* Get rid of infitite loop with '\r' only in text.
-
---- lib/rdoc/text.rb.orig 2011-08-05 21:21:55.000000000 +0000
-+++ lib/rdoc/text.rb
-@@ -45,11 +45,11 @@ module RDoc::Text
- expanded = []
-
- text.each_line do |line|
-- line.gsub!(/^(.{8}*?)([^\t\r\n]{0,7})\t/) do
-+ nil while line.gsub!(/(?:\G|\r)((?:.{8})*?)([^\t\r\n]{0,7})\t/) do
- r = "#{$1}#{$2}#{' ' * (8 - $2.size)}"
- r.force_encoding text.encoding if Object.const_defined? :Encoding
- r
-- end until line !~ /\t/
-+ end
-
- expanded << line
- end
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems.rb b/lang/ruby193-base/patches/patch-lib_rubygems.rb
deleted file mode 100644
index 620aee59e62..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-lib_rubygems.rb,v 1.4 2014/02/24 01:20:15 taca Exp $
-
-Add install_root option for pkgsrc's rubygems support.
-
---- lib/rubygems.rb.orig 2012-04-19 23:38:41.000000000 +0000
-+++ lib/rubygems.rb
-@@ -330,7 +330,10 @@ module Gem
- ##
- # The path where gem executables are to be installed.
-
-- def self.bindir(install_dir=Gem.dir)
-+ def self.bindir(install_dir=Gem.dir, install_root=nil)
-+ unless install_root.nil? or install_root.empty?
-+ install_dir = install_dir.sub(install_root, "")
-+ end
- # TODO: move to Gem::Dirs
- return File.join install_dir, 'bin' unless
- install_dir.to_s == Gem.default_dir.to_s
-@@ -622,12 +625,12 @@ module Gem
- ##
- # The index to insert activated gem paths into the $LOAD_PATH.
- #
-- # Defaults to the site lib directory unless gem_prelude.rb has loaded paths,
-+ # Defaults to the vendor lib directory unless gem_prelude.rb has loaded paths,
- # then it inserts the activated gem's paths before the gem_prelude.rb paths
- # so you can override the gem_prelude.rb default $LOAD_PATH paths.
-
- def self.load_path_insert_index
-- index = $LOAD_PATH.index ConfigMap[:sitelibdir]
-+ index = $LOAD_PATH.index ConfigMap[:vendorlibdir]
-
- if QUICKLOADER_SUCKAGE then
- $LOAD_PATH.each_with_index do |path, i|
-@@ -821,6 +824,7 @@ module Gem
- prefix = File.dirname RUBYGEMS_DIR
-
- if prefix != File.expand_path(ConfigMap[:sitelibdir]) and
-+ prefix != File.expand_path(ConfigMap[:vendorlibdir]) and
- prefix != File.expand_path(ConfigMap[:libdir]) and
- 'lib' == File.basename(RUBYGEMS_DIR) then
- prefix
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_command.rb b/lang/ruby193-base/patches/patch-lib_rubygems_command.rb
deleted file mode 100644
index 1970431d4ad..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_command.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-lib_rubygems_command.rb,v 1.1 2013/07/07 15:01:01 taca Exp $
-
-* Support partly build_args options.
-
---- lib/rubygems/command.rb.orig 2011-07-27 02:04:03.000000000 +0000
-+++ lib/rubygems/command.rb
-@@ -268,8 +268,18 @@ class Gem::Command
- # Invoke the command with the given list of arguments.
-
- def invoke(*args)
-+ invoke_with_build_args args, nil
-+ end
-+
-+ ##
-+ # Invoke the command with the given list of normal arguments
-+ # and additional build arguments.
-+
-+ def invoke_with_build_args(args, build_args)
- handle_options args
-
-+ options[:build_args] = build_args
-+
- if options[:help] then
- show_help
- elsif @when_invoked then
-@@ -344,7 +354,7 @@ class Gem::Command
-
- def handle_options(args)
- args = add_extra_args(args)
-- @options = @defaults.clone
-+ @options = Marshal.load Marshal.dump @defaults # deep copy
- parser.parse!(args)
- @options[:args] = args
- end
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_command__manager.rb b/lang/ruby193-base/patches/patch-lib_rubygems_command__manager.rb
deleted file mode 100644
index 06132dada6b..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_command__manager.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-$NetBSD: patch-lib_rubygems_command__manager.rb,v 1.1 2013/07/07 15:01:01 taca Exp $
-
-* Support partly build_args options.
-
---- lib/rubygems/command_manager.rb.orig 2011-07-27 02:04:03.000000000 +0000
-+++ lib/rubygems/command_manager.rb
-@@ -113,8 +113,8 @@ class Gem::CommandManager
- ##
- # Run the config specified by +args+.
-
-- def run(args)
-- process_args(args)
-+ def run(args, build_args=nil)
-+ process_args(args, build_args)
- rescue StandardError, Timeout::Error => ex
- alert_error "While executing gem ... (#{ex.class})\n #{ex.to_s}"
- ui.errs.puts "\t#{ex.backtrace.join "\n\t"}" if
-@@ -125,13 +125,15 @@ class Gem::CommandManager
- terminate_interaction(1)
- end
-
-- def process_args(args)
-+ def process_args(args, build_args=nil)
- args = args.to_str.split(/\s+/) if args.respond_to?(:to_str)
-- if args.size == 0
-+
-+ if args.empty? then
- say Gem::Command::HELP
-- terminate_interaction(1)
-+ terminate_interaction 1
- end
-- case args[0]
-+
-+ case args.first
- when '-h', '--help'
- say Gem::Command::HELP
- terminate_interaction(0)
-@@ -144,7 +146,7 @@ class Gem::CommandManager
- else
- cmd_name = args.shift.downcase
- cmd = find_command(cmd_name)
-- cmd.invoke(*args)
-+ cmd.invoke_with_build_args args, build_args
- end
- end
-
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_commands_install__command.rb b/lang/ruby193-base/patches/patch-lib_rubygems_commands_install__command.rb
deleted file mode 100644
index ec367534409..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_commands_install__command.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_rubygems_commands_install__command.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
-
-Prevent access to HOME when --install-root is used.
-
---- lib/rubygems/commands/install_command.rb.orig 2011-07-27 02:04:03.000000000 +0000
-+++ lib/rubygems/commands/install_command.rb
-@@ -148,7 +148,7 @@ to write the specification by hand. For
- Gem::DocManager.new(gem, options[:rdoc_args]).generate_ri
- end
-
-- Gem::DocManager.update_ri_cache
-+ Gem::DocManager.update_ri_cache(options[:install_root])
- end
-
- if options[:generate_rdoc] then
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_commands_setup__command.rb b/lang/ruby193-base/patches/patch-lib_rubygems_commands_setup__command.rb
deleted file mode 100644
index bfa12e9a6e9..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_commands_setup__command.rb
+++ /dev/null
@@ -1,38 +0,0 @@
-$NetBSD: patch-lib_rubygems_commands_setup__command.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
-
-Make sure to setup under DESTDIR.
-
---- lib/rubygems/commands/setup_command.rb.orig 2011-08-05 20:18:14.000000000 +0000
-+++ lib/rubygems/commands/setup_command.rb
-@@ -110,7 +110,7 @@ By default, this RubyGems will install g
-
- uninstall_old_gemcutter
-
-- install_rdoc
-+ install_rdoc install_destdir
-
- say
- if @verbose then
-@@ -221,16 +221,20 @@ TEXT
- end
- end
-
-- def install_rdoc
-+ def install_rdoc(install_destdir)
- gem_doc_dir = File.join Gem.dir, 'doc'
- rubygems_name = "rubygems-#{Gem::VERSION}"
- rubygems_doc_dir = File.join gem_doc_dir, rubygems_name
-
-+ unless install_destdir.empty?
-+ FileUtils.mkdir_p gem_doc_dir unless File.exist?(gem_doc_dir)
-+ end
-+
- if File.writable? gem_doc_dir and
- (not File.exist? rubygems_doc_dir or
- File.writable? rubygems_doc_dir) then
- say "Removing old RubyGems RDoc and ri" if @verbose
-- Dir[File.join(Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir|
-+ Dir[File.join(gem_doc_dir, 'rubygems-[0-9]*')].each do |dir|
- rm_rf dir
- end
-
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_commands_uninstall__command.rb b/lang/ruby193-base/patches/patch-lib_rubygems_commands_uninstall__command.rb
deleted file mode 100644
index 5330b7e74e4..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_commands_uninstall__command.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-lib_rubygems_commands_uninstall__command.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
-
-Add install_root option for pkgsrc's rubygems support.
-
---- lib/rubygems/commands/uninstall_command.rb.orig 2011-08-26 01:12:57.000000000 +0000
-+++ lib/rubygems/commands/uninstall_command.rb
-@@ -21,6 +21,11 @@ class Gem::Commands::UninstallCommand <
- options[:all] = value
- end
-
-+ add_option('-B', '--install-root DIR',
-+ 'Root directory for gem files') do |value, options|
-+ options[:install_root] = File.expand_path(value)
-+ end
-+
- add_option('-I', '--[no-]ignore-dependencies',
- 'Ignore dependency requirements while',
- 'uninstalling') do |value, options|
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_commands_unpack__command.rb b/lang/ruby193-base/patches/patch-lib_rubygems_commands_unpack__command.rb
deleted file mode 100644
index b1382f1ff1b..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_commands_unpack__command.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-lib_rubygems_commands_unpack__command.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
-
-Add install_root option for pkgsrc's rubygems support.
-
---- lib/rubygems/commands/unpack_command.rb.orig 2011-07-27 02:04:03.000000000 +0000
-+++ lib/rubygems/commands/unpack_command.rb
-@@ -14,6 +14,10 @@ class Gem::Commands::UnpackCommand < Gem
- :version => Gem::Requirement.default,
- :target => Dir.pwd
-
-+ add_option('--install-root DIR', 'Root directory for gem files on extract') do |value, options|
-+ options[:install_root] = value
-+ end
-+
- add_option('--target=DIR',
- 'target directory for unpacking') do |value, options|
- options[:target] = value
-@@ -70,7 +74,8 @@ class Gem::Commands::UnpackCommand < Gem
- basename = File.basename path, '.gem'
- target_dir = File.expand_path basename, options[:target]
- FileUtils.mkdir_p target_dir
-- Gem::Installer.new(path, :unpack => true).unpack target_dir
-+ Gem::Installer.new(path, :unpack => true,
-+ :install_root => options[:install_root]).unpack target_dir
- say "Unpacked gem: '#{target_dir}'"
- end
- end
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_config__file.rb b/lang/ruby193-base/patches/patch-lib_rubygems_config__file.rb
deleted file mode 100644
index fc2e942b1f4..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_config__file.rb
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-lib_rubygems_config__file.rb,v 1.2 2012/04/22 08:17:16 taca Exp $
-
-Don't hard code config file's path for gem.
-
---- lib/rubygems/config_file.rb.orig 2012-04-19 23:38:41.000000000 +0000
-+++ lib/rubygems/config_file.rb
-@@ -47,32 +47,7 @@ class Gem::ConfigFile
-
- PLATFORM_DEFAULTS = {}
-
-- system_config_path =
-- begin
-- require "etc"
-- Etc.sysconfdir
-- rescue LoadError, NoMethodError
-- begin
-- # TODO: remove after we drop 1.8.7 and 1.9.1
-- require 'Win32API'
--
-- CSIDL_COMMON_APPDATA = 0x0023
-- path = 0.chr * 260
-- if RUBY_VERSION > '1.9' then
-- SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'PLPLP',
-- 'L', :stdcall
-- SHGetFolderPath.call nil, CSIDL_COMMON_APPDATA, nil, 1, path
-- else
-- SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'LLLLP',
-- 'L'
-- SHGetFolderPath.call 0, CSIDL_COMMON_APPDATA, 0, 1, path
-- end
--
-- path.strip
-- rescue LoadError
-- RbConfig::CONFIG["sysconfdir"] || "/etc"
-- end
-- end
-+ system_config_path = '@PKG_SYSCONFDIR@'
-
- SYSTEM_WIDE_CONFIG_FILE = File.join system_config_path, 'gemrc'
-
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_defaults.rb b/lang/ruby193-base/patches/patch-lib_rubygems_defaults.rb
deleted file mode 100644
index aca7e0704b2..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_defaults.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_rubygems_defaults.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
-
-Use vendordir instead of sitedir.
-
---- lib/rubygems/defaults.rb.orig 2011-07-27 02:04:03.000000000 +0000
-+++ lib/rubygems/defaults.rb
-@@ -21,7 +21,7 @@ module Gem
- def self.default_dir
- path = if defined? RUBY_FRAMEWORK_VERSION then
- [
-- File.dirname(ConfigMap[:sitedir]),
-+ File.dirname(ConfigMap[:vendordir]),
- 'Gems',
- ConfigMap[:ruby_version]
- ]
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_dependency__installer.rb b/lang/ruby193-base/patches/patch-lib_rubygems_dependency__installer.rb
deleted file mode 100644
index 036e51e10bf..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_dependency__installer.rb
+++ /dev/null
@@ -1,59 +0,0 @@
-$NetBSD: patch-lib_rubygems_dependency__installer.rb,v 1.6 2014/02/22 03:23:10 taca Exp $
-
-Add install_root option for pkgsrc's rubygems support.
-
---- lib/rubygems/dependency_installer.rb.orig 2011-07-27 02:04:03.000000000 +0000
-+++ lib/rubygems/dependency_installer.rb
-@@ -23,6 +23,7 @@ class Gem::DependencyInstaller
- :prerelease => false,
- :security_policy => nil, # HACK NoSecurity requires OpenSSL. AlmostNo? Low?
- :wrappers => true,
-+ :build_args => nil,
- }
-
- ##
-@@ -38,10 +39,12 @@ class Gem::DependencyInstaller
- # :format_executable:: See Gem::Installer#initialize.
- # :ignore_dependencies:: Don't install any dependencies.
- # :install_dir:: See Gem::Installer#install.
-+ # :install_root: See Gem::Installer#install.
- # :prerelease:: Allow prerelease versions. See #install.
- # :security_policy:: See Gem::Installer::new and Gem::Security.
- # :user_install:: See Gem::Installer.new
- # :wrappers:: See Gem::Installer::new
-+ # :build_args:: See Gem::Installer::new
-
- def initialize(options = {})
- if options[:install_dir] then
-@@ -65,11 +68,17 @@ class Gem::DependencyInstaller
- @security_policy = options[:security_policy]
- @user_install = options[:user_install]
- @wrappers = options[:wrappers]
-+ @build_args = options[:build_args]
-
- @installed_gems = []
-
- @install_dir = options[:install_dir] || Gem.dir
-- @cache_dir = options[:cache_dir] || @install_dir
-+ @install_root = options[:install_root]
-+ install_dir = @install_dir
-+ unless @install_root.nil? or @install_root.empty?
-+ install_dir = File.join(@install_root, @install_dir)
-+ end
-+ @cache_dir = options[:cache_dir] || install_dir
-
- # Set with any errors that SpecFetcher finds while search through
- # gemspecs for a dep
-@@ -290,9 +299,11 @@ class Gem::DependencyInstaller
- :format_executable => @format_executable,
- :ignore_dependencies => @ignore_dependencies,
- :install_dir => @install_dir,
-+ :install_root => @install_root,
- :security_policy => @security_policy,
- :user_install => @user_install,
-- :wrappers => @wrappers
-+ :wrappers => @wrappers,
-+ :build_args => @build_args
-
- spec = inst.install
-
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_doc__manager.rb b/lang/ruby193-base/patches/patch-lib_rubygems_doc__manager.rb
deleted file mode 100644
index 1b4af8b0add..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_doc__manager.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-lib_rubygems_doc__manager.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
-
-Prevent access to HOME when --install-root is used.
-
---- lib/rubygems/doc_manager.rb.orig 2011-07-27 02:04:03.000000000 +0000
-+++ lib/rubygems/doc_manager.rb
-@@ -60,7 +60,7 @@ class Gem::DocManager
- ##
- # Updates the RI cache for RDoc 2 if it is installed
-
-- def self.update_ri_cache
-+ def self.update_ri_cache(install_root = nil)
- load_rdoc rescue return
-
- return unless defined? RDoc::VERSION # RDoc 1 does not have VERSION
-@@ -71,7 +71,7 @@ class Gem::DocManager
- :use_cache => true,
- :use_system => true,
- :use_site => true,
-- :use_home => true,
-+ :use_home => (install_root == nil)? true: false,
- :use_gems => true,
- :formatter => RDoc::RI::Formatter,
- }
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_gem__runner.rb b/lang/ruby193-base/patches/patch-lib_rubygems_gem__runner.rb
deleted file mode 100644
index d8c548a58ff..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_gem__runner.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_rubygems_gem__runner.rb,v 1.1 2013/07/07 15:01:01 taca Exp $
-
-* Support partly build_args options.
-
---- lib/rubygems/gem_runner.rb.orig 2011-07-27 02:04:03.000000000 +0000
-+++ lib/rubygems/gem_runner.rb
-@@ -62,7 +60,7 @@ class Gem::GemRunner
- Gem::Command.add_specific_extra_args command_name, config_args
- end
-
-- cmd.run Gem.configuration.args
-+ cmd.run Gem.configuration.args, build_args
- end_time = Time.now
-
- if Gem.configuration.benchmark then
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_install__update__options.rb b/lang/ruby193-base/patches/patch-lib_rubygems_install__update__options.rb
deleted file mode 100644
index 08aef316ca8..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_install__update__options.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-lib_rubygems_install__update__options.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
-
-Add install_root option for pkgsrc's rubygems support.
-
---- lib/rubygems/install_update_options.rb.orig 2011-07-27 02:04:03.000000000 +0000
-+++ lib/rubygems/install_update_options.rb
-@@ -32,6 +32,12 @@ module Gem::InstallUpdateOptions
- value
- end
-
-+ add_option(:"Install/Update", '-B', '--install-root DIR',
-+ 'Root directory for gem files on install') do |value, options|
-+ options[:install_root] = File.expand_path(value)
-+ Gem.ensure_gem_subdirectories File.join options[:install_root], Gem.dir
-+ end
-+
- add_option(:"Install/Update", '-i', '--install-dir DIR',
- 'Gem repository directory to get installed',
- 'gems') do |value, options|
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_installer.rb b/lang/ruby193-base/patches/patch-lib_rubygems_installer.rb
deleted file mode 100644
index 56534d8096b..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_installer.rb
+++ /dev/null
@@ -1,93 +0,0 @@
-$NetBSD: patch-lib_rubygems_installer.rb,v 1.3 2014/02/19 15:50:53 taca Exp $
-
-Add install_root option for pkgsrc's rubygems support.
-
---- lib/rubygems/installer.rb.orig 2012-10-25 09:18:59.000000000 +0000
-+++ lib/rubygems/installer.rb
-@@ -85,11 +85,16 @@ class Gem::Installer
- # for a signed-gems-only policy.
- # :ignore_dependencies:: Don't raise if a dependency is missing.
- # :install_dir:: The directory to install the gem into.
-+ # :install_root:: The directory to use as a buildroot for "destdir"-style
-+ # installation. All paths during installation are relative
-+ # to the buildroot.
- # :format_executable:: Format the executable the same as the ruby executable.
- # If your ruby is ruby18, foo_exec will be installed as
- # foo_exec18.
- # :security_policy:: Use the specified security policy. See Gem::Security
- # :wrappers:: Install wrappers if true, symlinks if false.
-+ # :build_args:: An Array of arguments to pass to the extension builder
-+ # process. If not set, then Gem::Command.build_args is used
-
- def initialize(gem, options={})
- require 'fileutils'
-@@ -178,6 +183,7 @@ class Gem::Installer
-
- extract_files
- build_extensions
-+ write_build_info_file
-
- Gem.post_build_hooks.each do |hook|
- result = hook.call self
-@@ -283,7 +289,11 @@ class Gem::Installer
- # If the user has asked for the gem to be installed in a directory that is
- # the system gem directory, then use the system bin directory, else create
- # (or use) a new bin dir under the gem_home.
-- bindir = @bin_dir || Gem.bindir(gem_home)
-+ bindir = @bin_dir ? @bin_dir : (Gem.bindir @gem_home, @install_root)
-+
-+ unless @install_root.nil? or @install_root.empty?
-+ bindir = File.join(@install_root, bindir)
-+ end
-
- Dir.mkdir bindir unless File.exist? bindir
- raise Gem::FilePermissionError.new(bindir) unless File.writable? bindir
-@@ -416,6 +426,7 @@ class Gem::Installer
- :exec_format => false,
- :force => false,
- :install_dir => Gem.dir,
-+ :install_root => nil,
- }.merge options
-
- @env_shebang = options[:env_shebang]
-@@ -425,9 +436,16 @@ class Gem::Installer
- @format_executable = options[:format_executable]
- @security_policy = options[:security_policy]
- @wrappers = options[:wrappers]
-+ install_root = options[:install_root]
-+ unless install_root.nil? or install_root.empty?
-+ @install_root = File.expand_path install_root
-+ @gem_home = File.join(@install_root, @gem_home)
-+ end
- @bin_dir = options[:bin_dir]
- @development = options[:development]
-
-+ @build_args = options[:build_args] || Gem::Command.build_args
-+
- raise "NOTE: Installer option :source_index is dead" if
- options[:source_index]
- end
-@@ -622,5 +640,23 @@ EOF
- def dir
- gem_dir.to_s
- end
-+
-+ ##
-+ # Writes the file containing the arguments for building this gem's
-+ # extensions.
-+
-+ def write_build_info_file
-+ return if @build_args.empty?
-+
-+ build_info_file = spec.build_info_file
-+ build_info_dir = File.dirname build_info_file
-+ FileUtils.mkdir_p build_info_dir
-+ open build_info_file, 'w' do |io|
-+ @build_args.each do |arg|
-+ io.puts arg
-+ end
-+ end
-+ end
-+
- end
-
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_platform.rb b/lang/ruby193-base/patches/patch-lib_rubygems_platform.rb
deleted file mode 100644
index 8916e511f8d..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_platform.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-lib_rubygems_platform.rb,v 1.2 2015/03/08 14:53:39 taca Exp $
-
-Allow simple "netbsd" as Gem::Platform.
-
---- lib/rubygems/platform.rb.orig 2012-04-19 22:43:16.000000000 +0000
-+++ lib/rubygems/platform.rb
-@@ -51,10 +51,7 @@ class Gem::Platform
-
- cpu = arch.shift
-
-- @cpu = case cpu
-- when /i\d86/ then 'x86'
-- else cpu
-- end
-+ @cpu = cpu
-
- if arch.length == 2 and arch.last =~ /^\d+(\.\d+)?$/ then # for command-line
- @os, @version = arch
-@@ -81,7 +78,7 @@ class Gem::Platform
- os, version = $1, $3
- @cpu = 'x86' if @cpu.nil? and os =~ /32$/
- [os, version]
-- when /netbsdelf/ then [ 'netbsdelf', nil ]
-+ when /netbsd/ then [ 'netbsd', nil ]
- when /openbsd(\d+\.\d+)/ then [ 'openbsd', $1 ]
- when /solaris(\d+\.\d+)/ then [ 'solaris', $1 ]
- # test
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_specification.rb b/lang/ruby193-base/patches/patch-lib_rubygems_specification.rb
deleted file mode 100644
index 6a303770d95..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_specification.rb
+++ /dev/null
@@ -1,132 +0,0 @@
-$NetBSD: patch-lib_rubygems_specification.rb,v 1.4 2013/07/07 15:01:01 taca Exp $
-
-Changes for pkgsrc environment:
-
-* Allow some attributes to nil.
-* Relax date/time format.
-
-And allow multiple conditions for requirement from Ruby 2.0.0 and
-Rubygem 1.8.25.
-
---- lib/rubygems/specification.rb.orig 2012-04-19 22:43:16.000000000 +0000
-+++ lib/rubygems/specification.rb
-@@ -118,6 +118,12 @@ class Gem::Specification
- @@default_value[k].nil?
- }
-
-+ # under pkgsrc environment
-+ @@pkgsrc_nil_attributes = {}
-+ [:authors, :cert_chain, :executables, :extensions, :extra_rdoc_files, :licenses, :required_rubygems_version, :test_files].each do |k|
-+ @@pkgsrc_nil_attributes[k] = true
-+ end
-+
- ######################################################################
- # :section: Required gemspec attributes
-
-@@ -934,6 +940,32 @@ class Gem::Specification
- end
-
- ##
-+ # Returns the build_args used to install the gem
-+
-+ def build_args
-+ if File.exists? build_info_file
-+ File.readlines(build_info_file).map { |x| x.strip }
-+ else
-+ []
-+ end
-+ end
-+
-+ ##
-+ # Returns the full path to the build info directory
-+
-+ def build_info_dir
-+ File.join base_dir, "build_info"
-+ end
-+
-+ ##
-+ # Returns the full path to the file containing the build
-+ # information generated when the gem was installed
-+
-+ def build_info_file
-+ File.join build_info_dir, "#{full_name}.info"
-+ end
-+
-+ ##
- # Returns the full path to the cache directory containing this
- # spec's cached gem.
-
-@@ -1000,7 +1032,7 @@ class Gem::Specification
- # way to do it.
- @date = case date
- when String then
-- if /\A(\d{4})-(\d{2})-(\d{2})\Z/ =~ date then
-+ if /\A(\d{4})-(\d{2})-(\d{2})/ =~ date then
- Time.utc($1.to_i, $2.to_i, $3.to_i)
-
- # Workaround for where the date format output from psych isn't
-@@ -1720,7 +1752,9 @@ class Gem::Specification
- when Numeric then obj.inspect
- when true, false, nil then obj.inspect
- when Gem::Platform then "Gem::Platform.new(#{obj.to_a.inspect})"
-- when Gem::Requirement then "Gem::Requirement.new(#{obj.to_s.inspect})"
-+ when Gem::Requirement then
-+ list = obj.as_list
-+ "Gem::Requirement.new(#{ruby_code(list.size == 1 ? obj.to_s : list)})"
- else raise Gem::Exception, "ruby_code case not handled: #{obj.class}"
- end
- end
-@@ -1946,6 +1980,7 @@ class Gem::Specification
- ast = builder.tree
-
- io = StringIO.new
-+ io.set_encoding Encoding::UTF_8 if Object.const_defined? :Encoding
-
- Psych::Visitors::Emitter.new(io).accept(ast)
-
-@@ -1987,7 +2022,24 @@ class Gem::Specification
- normalize
-
- nil_attributes = self.class.non_nil_attributes.find_all do |name|
-- instance_variable_get("@#{name}").nil?
-+ val = instance_variable_get("@#{name}")
-+ if val.nil?
-+ if @@pkgsrc_nil_attributes.key?(name)
-+ case name
-+ when :required_rubygems_version
-+ val = Gem::Requirement.default
-+ else
-+ val = []
-+ end
-+ instance_variable_set("@#{name}", val)
-+ false
-+ end
-+ end
-+ if name == :authors and val.empty?
-+ val = ['not specified']
-+ self.authors = val
-+ false
-+ end
- end
-
- unless nil_attributes.empty? then
-@@ -2090,10 +2142,15 @@ class Gem::Specification
- raise Gem::InvalidSpecificationException, "#{lazy} is not a summary"
- end
-
-- if homepage and not homepage.empty? and
-- homepage !~ /\A[a-z][a-z\d+.-]*:/i then
-- raise Gem::InvalidSpecificationException,
-- "\"#{homepage}\" is not a URI"
-+ if homepage and not homepage.empty?
-+ if @homepage =~ /\A[a-z][a-z\d+.-]*/i and
-+ @homepage !~ /\A[a-z][a-z\d+.-]*:/i
-+ @homepage = "http://" + @homepage
-+ end
-+ if homepage !~ /\A[a-z][a-z\d+.-]*:/i then
-+ raise Gem::InvalidSpecificationException,
-+ "\"#{homepage}\" is not a URI"
-+ end
- end
-
- # Warnings
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_uninstaller.rb b/lang/ruby193-base/patches/patch-lib_rubygems_uninstaller.rb
deleted file mode 100644
index 3655a5847ea..00000000000
--- a/lang/ruby193-base/patches/patch-lib_rubygems_uninstaller.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-lib_rubygems_uninstaller.rb,v 1.2 2014/02/19 15:50:53 taca Exp $
-
-Add install_root option for pkgsrc's rubygems support.
-
---- lib/rubygems/uninstaller.rb.orig 2011-07-27 03:42:40.000000000 +0000
-+++ lib/rubygems/uninstaller.rb
-@@ -50,6 +50,11 @@ class Gem::Uninstaller
- @force_ignore = options[:ignore]
- @bin_dir = options[:bin_dir]
- @format_executable = options[:format_executable]
-+ install_root = options[:install_root]
-+ unless install_root.nil? or install_root.empty?
-+ @install_root = File.expand_path install_root
-+ @gem_home = File.join(@install_root, @gem_home)
-+ end
-
- # only add user directory if install_dir is not set
- @user_install = false
-@@ -155,7 +160,11 @@ class Gem::Uninstaller
- unless remove then
- say "Executables and scripts will remain installed."
- else
-- bin_dir = @bin_dir || Gem.bindir(spec.base_dir)
-+ bin_dir = @bin_dir || (Gem.bindir @gem_home, @install_root)
-+
-+ unless @install_root.nil? or @install_root.empty?
-+ bindir = File.join(@install_root, bindir)
-+ end
-
- raise Gem::FilePermissionError, bin_dir unless File.writable? bin_dir
-
diff --git a/lang/ruby193-base/patches/patch-man_erb.1 b/lang/ruby193-base/patches/patch-man_erb.1
deleted file mode 100644
index d3ca14689c8..00000000000
--- a/lang/ruby193-base/patches/patch-man_erb.1
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-man_erb.1,v 1.2 2013/02/12 13:03:09 taca Exp $
-
-Fix mdoc markup.
-
---- man/erb.1.orig 2012-01-24 20:07:01.000000000 +0000
-+++ man/erb.1
-@@ -143,12 +143,12 @@ class.
- .Pp
- .Sh REPORTING BUGS
- .Bl -bullet
--.Li Security vulnerabilities should be reported via an email to
--.Aq security@ruby-lang.org Ns
--.Li .
-+.It
-+Security vulnerabilities should be reported via an email to
-+.Aq security@ruby-lang.org .
- Reported problems will be published after fixed.
--.Pp
--.Li And you can report other bugs and feature requests via the
-+.It
-+You can report other bugs and feature requests via the
- Ruby Issue Tracking System (http://redmine.ruby-lang.org).
- Do not report security vulnerabilities
- via the system because it publishes the vulnerabilities immediately.
diff --git a/lang/ruby193-base/patches/patch-man_irb.1 b/lang/ruby193-base/patches/patch-man_irb.1
deleted file mode 100644
index 6c518ef46bd..00000000000
--- a/lang/ruby193-base/patches/patch-man_irb.1
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-man_irb.1,v 1.2 2013/02/12 13:03:09 taca Exp $
-
-Fix mdoc markup.
-
---- man/irb.1.orig 2012-01-24 20:07:49.000000000 +0000
-+++ man/irb.1
-@@ -159,12 +159,12 @@ Personal irb initialization.
- .Pp
- .Sh REPORTING BUGS
- .Bl -bullet
--.Li Security vulnerabilities should be reported via an email to
--.Aq security@ruby-lang.org Ns
--.Li .
-+.It
-+Security vulnerabilities should be reported via an email to
-+.Aq security@ruby-lang.org .
- Reported problems will be published after fixed.
--.Pp
--.Li And you can report other bugs and feature requests via the
-+.It
-+You can report other bugs and feature requests via the
- Ruby Issue Tracking System (http://redmine.ruby-lang.org).
- Do not report security vulnerabilities
- via the system because it publishes the vulnerabilities immediately.
diff --git a/lang/ruby193-base/patches/patch-man_ri.1 b/lang/ruby193-base/patches/patch-man_ri.1
deleted file mode 100644
index 9878a21a0a3..00000000000
--- a/lang/ruby193-base/patches/patch-man_ri.1
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-man_ri.1,v 1.2 2013/02/12 13:03:09 taca Exp $
-
-Fix mdoc markup.
-
---- man/ri.1.orig 2012-01-24 20:08:14.000000000 +0000
-+++ man/ri.1
-@@ -165,12 +165,12 @@ Searches user-wide documents here.
- .Pp
- .Sh REPORTING BUGS
- .Bl -bullet
--.Li Security vulnerabilities should be reported via an email to
--.Aq security@ruby-lang.org Ns
--.Li .
-+.It
-+Security vulnerabilities should be reported via an email to
-+.Aq security@ruby-lang.org .
- Reported problems will be published after fixed.
--.Pp
--.Li And you can report other bugs and feature requests via the
-+.It
-+You can report other bugs and feature requests via the
- Ruby Issue Tracking System (http://redmine.ruby-lang.org).
- Do not report security vulnerabilities
- via the system because it publishes the vulnerabilities immediately.
diff --git a/lang/ruby193-base/patches/patch-man_ruby.1 b/lang/ruby193-base/patches/patch-man_ruby.1
deleted file mode 100644
index b92260a6328..00000000000
--- a/lang/ruby193-base/patches/patch-man_ruby.1
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-man_ruby.1,v 1.2 2013/02/12 13:03:09 taca Exp $
-
-Fix mdoc markup.
-
---- man/ruby.1.orig 2012-01-24 20:08:36.000000000 +0000
-+++ man/ruby.1
-@@ -494,12 +494,12 @@ Ruby Application Archive.
- .Pp
- .Sh REPORTING BUGS
- .Bl -bullet
--.Li Security vulnerabilities should be reported via an email to
--.Aq security@ruby-lang.org Ns
--.Li .
-+.It
-+Security vulnerabilities should be reported via an email to
-+.Aq security@ruby-lang.org .
- Reported problems will be published after they've been fixed.
--.Pp
--.Li And you can report other bugs and feature requests via the
-+.It
-+You can report other bugs and feature requests via the
- Ruby Issue Tracking System (http://redmine.ruby-lang.org).
- Do not report security vulnerabilities
- via the system because it publishes the vulnerabilities immediately.
diff --git a/lang/ruby193-base/patches/patch-pack.c b/lang/ruby193-base/patches/patch-pack.c
deleted file mode 100644
index 00cc997a3d6..00000000000
--- a/lang/ruby193-base/patches/patch-pack.c
+++ /dev/null
@@ -1,42 +0,0 @@
-$NetBSD: patch-pack.c,v 1.2 2014/10/02 08:50:12 taca Exp $
-
-Fix for CVE-2014-4975 from revision #46806 in ruby_2_1 branch.
-
---- pack.c.orig 2012-08-09 13:49:27.000000000 +0000
-+++ pack.c
-@@ -1068,7 +1068,8 @@ static const char b64_table[] =
- static void
- encodes(VALUE str, const char *s, long len, int type, int tail_lf)
- {
-- char buff[4096];
-+ enum {buff_size = 4096, encoded_unit = 4};
-+ char buff[buff_size + 1]; /* +1 for tail_lf */
- long i = 0;
- const char *trans = type == 'u' ? uu_table : b64_table;
- int padding;
-@@ -1081,7 +1082,7 @@ encodes(VALUE str, const char *s, long l
- padding = '=';
- }
- while (len >= 3) {
-- while (len >= 3 && sizeof(buff)-i >= 4) {
-+ while (len >= 3 && buff_size-i >= encoded_unit) {
- buff[i++] = trans[077 & (*s >> 2)];
- buff[i++] = trans[077 & (((*s << 4) & 060) | ((s[1] >> 4) & 017))];
- buff[i++] = trans[077 & (((s[1] << 2) & 074) | ((s[2] >> 6) & 03))];
-@@ -1089,7 +1090,7 @@ encodes(VALUE str, const char *s, long l
- s += 3;
- len -= 3;
- }
-- if (sizeof(buff)-i < 4) {
-+ if (buff_size-i < encoded_unit) {
- rb_str_buf_cat(str, buff, i);
- i = 0;
- }
-@@ -1109,6 +1110,7 @@ encodes(VALUE str, const char *s, long l
- }
- if (tail_lf) buff[i++] = '\n';
- rb_str_buf_cat(str, buff, i);
-+ if ((size_t)i > sizeof(buff)) rb_bug("encodes() buffer overrun");
- }
-
- static const char hex_table[] = "0123456789ABCDEF";
diff --git a/lang/ruby193-base/patches/patch-test_rubygems_test__gem.rb b/lang/ruby193-base/patches/patch-test_rubygems_test__gem.rb
deleted file mode 100644
index da4f0f145ae..00000000000
--- a/lang/ruby193-base/patches/patch-test_rubygems_test__gem.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-test_rubygems_test__gem.rb,v 1.2 2013/01/31 15:56:14 taca Exp $
-
-Use vendordir instead of sitedir.
-
---- test/rubygems/test_gem.rb.orig 2012-04-19 22:43:16.000000000 +0000
-+++ test/rubygems/test_gem.rb
-@@ -844,12 +844,12 @@ class TestGem < Gem::TestCase
- end
-
- def test_self_prefix_sitelibdir
-- orig_sitelibdir = Gem::ConfigMap[:sitelibdir]
-- Gem::ConfigMap[:sitelibdir] = @@project_dir
-+ orig_sitelibdir = Gem::ConfigMap[:vendorlibdir]
-+ Gem::ConfigMap[:vendorlibdir] = @@project_dir
-
- assert_nil Gem.prefix
- ensure
-- Gem::ConfigMap[:sitelibdir] = orig_sitelibdir
-+ Gem::ConfigMap[:vendorlibdir] = orig_sitelibdir
- end
-
- def test_self_refresh
diff --git a/lang/ruby193-base/patches/patch-tool_rbinstall.rb b/lang/ruby193-base/patches/patch-tool_rbinstall.rb
deleted file mode 100644
index 6f10d3cb54b..00000000000
--- a/lang/ruby193-base/patches/patch-tool_rbinstall.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-tool_rbinstall.rb,v 1.1 2011/12/04 02:31:54 taca Exp $
-
-Don't install which has already ${RUBY_VER} suffix.
-
---- tool/rbinstall.rb.orig 2011-07-30 14:19:11.000000000 +0000
-+++ tool/rbinstall.rb
-@@ -211,7 +211,7 @@ def install_recursive(srcdir, dest, opti
- end
- end
- end
-- skip |= %w"#*# *~ *.old *.bak *.orig *.rej *.diff *.patch *.core"
-+ skip |= %w"#*# *~ *.old *.bak *.orig *.rej *.diff *.patch *.core *193"
- prune = path_matcher(prune)
- skip = path_matcher(skip)
- File.directory?(srcdir) or return rescue return
diff --git a/lang/ruby193-base/patches/patch-vsnprintf.c b/lang/ruby193-base/patches/patch-vsnprintf.c
deleted file mode 100644
index f05c0ac0492..00000000000
--- a/lang/ruby193-base/patches/patch-vsnprintf.c
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-vsnprintf.c,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
-
-Avoid ugly warning.
-
---- vsnprintf.c.orig 2011-01-18 17:56:10.000000000 +0000
-+++ vsnprintf.c
-@@ -209,7 +209,9 @@ typedef struct __sFILE {
- #define __sfeof(p) (((p)->_flags & __SEOF) != 0)
- #define __sferror(p) (((p)->_flags & __SERR) != 0)
- #define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
-+#ifndef __sfileno
- #define __sfileno(p) ((p)->_file)
-+#endif
-
- #undef feof
- #undef ferror