diff options
-rw-r--r-- | lang/ruby193-base/Makefile | 4 | ||||
-rw-r--r-- | lang/ruby193-base/distinfo | 8 | ||||
-rw-r--r-- | lang/ruby193-base/patches/patch-ext_dbm_extconf.rb | 16 |
3 files changed, 23 insertions, 5 deletions
diff --git a/lang/ruby193-base/Makefile b/lang/ruby193-base/Makefile index 06bf86d57eb..1ca79216513 100644 --- a/lang/ruby193-base/Makefile +++ b/lang/ruby193-base/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.5 2012/02/16 16:43:38 taca Exp $ +# $NetBSD: Makefile,v 1.6 2012/02/18 05:03:34 taca Exp $ # DISTNAME= ${RUBY_DISTNAME} PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_FULL} +PKGREVISION= 1 CATEGORIES= lang ruby MASTER_SITES= ${MASTER_SITE_RUBY} +DIST_SUBDIR= ${PKGBASE}-201202170 MAINTAINER= taca@NetBSD.org HOMEPAGE= ${RUBY_HOMEPAGE} diff --git a/lang/ruby193-base/distinfo b/lang/ruby193-base/distinfo index 8eec8557bcb..9e56b8e45ae 100644 --- a/lang/ruby193-base/distinfo +++ b/lang/ruby193-base/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.4 2012/02/16 16:43:38 taca Exp $ +$NetBSD: distinfo,v 1.5 2012/02/18 05:03:34 taca Exp $ -SHA1 (ruby-1.9.3-p125.tar.bz2) = 3ab1c7769ee4445f57f4dc377b89eece560df901 -RMD160 (ruby-1.9.3-p125.tar.bz2) = d1b2a1653cba4c2e8913cd4323b099647a5b0d3b -Size (ruby-1.9.3-p125.tar.bz2) = 9640876 bytes +SHA1 (ruby193-base-201202170/ruby-1.9.3-p125.tar.bz2) = bcdd597cfea7f79fb949314f265fc36af7de16a5 +RMD160 (ruby193-base-201202170/ruby-1.9.3-p125.tar.bz2) = 37517b3b0ab27ec09e3c5a5c48102d39f9657e28 +Size (ruby193-base-201202170/ruby-1.9.3-p125.tar.bz2) = 9733962 bytes SHA1 (patch-configure) = 3045588df7baca5e100363eaef64567d6a59d527 SHA1 (patch-configure.in) = c6671d30e11dfb2d5e4b253b6f3e53cf32af0152 SHA1 (patch-defs_default__gems) = fb24111736f1a76a05e853aa068024dbdd24e5a5 diff --git a/lang/ruby193-base/patches/patch-ext_dbm_extconf.rb b/lang/ruby193-base/patches/patch-ext_dbm_extconf.rb new file mode 100644 index 00000000000..8306dca8ad4 --- /dev/null +++ b/lang/ruby193-base/patches/patch-ext_dbm_extconf.rb @@ -0,0 +1,16 @@ +$NetBSD: patch-ext_dbm_extconf.rb,v 1.1 2012/02/18 05:03:34 taca Exp $ + +Fix build problem on NetBSD (and might be other *BSD). + +--- ext/dbm/extconf.rb.orig 2012-02-16 08:56:21.000000000 +0000 ++++ ext/dbm/extconf.rb +@@ -5,8 +5,7 @@ dir_config("dbm") + if dblib = with_config("dbm-type", nil) + dblib = dblib.split(/[ ,]+/) + else +- #dblib = %w(libc db db2 db1 db5 db4 db3 dbm gdbm gdbm_compat qdbm) +- dblib = %w(gdbm gdbm_compat qdbm) ++ dblib = %w(libc db db2 db1 db5 db4 db3 dbm gdbm gdbm_compat qdbm) + end + + headers = { |