summaryrefslogtreecommitdiff
path: root/misc/rubygems
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2014-03-13 18:05:49 +0000
committertaca <taca@pkgsrc.org>2014-03-13 18:05:49 +0000
commit17240d59e815b09185b69907663dab4d325d3afe (patch)
tree5457492d30d59a06ab8fe0a30df92275dd72ee84 /misc/rubygems
parent79ab214f56ce4d202aa660fda238edada1b46a39 (diff)
downloadpkgsrc-17240d59e815b09185b69907663dab4d325d3afe.tar.gz
Add a patch to detect NetBSD correctly in Gem::Platform.
Bump PKGREVISION.
Diffstat (limited to 'misc/rubygems')
-rw-r--r--misc/rubygems/Makefile4
-rw-r--r--misc/rubygems/PLIST4
-rw-r--r--misc/rubygems/distinfo25
-rw-r--r--misc/rubygems/patches/patch-lib_rubygems_platform.rb14
4 files changed, 31 insertions, 16 deletions
diff --git a/misc/rubygems/Makefile b/misc/rubygems/Makefile
index 0330333f7dc..c2865de82ab 100644
--- a/misc/rubygems/Makefile
+++ b/misc/rubygems/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.56 2014/02/19 15:47:32 taca Exp $
+# $NetBSD: Makefile,v 1.57 2014/03/13 18:05:49 taca Exp $
DISTNAME= rubygems-2.0.10
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= misc ruby
MASTER_SITES= http://production.cf.rubygems.org/rubygems/
EXTRACT_SUFX= .tgz
diff --git a/misc/rubygems/PLIST b/misc/rubygems/PLIST
index 45dd4ffe808..6afa2b5084d 100644
--- a/misc/rubygems/PLIST
+++ b/misc/rubygems/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.23 2013/07/07 15:12:56 taca Exp $
-bin/gem${RUBY_VER}.new
+@comment $NetBSD: PLIST,v 1.24 2014/03/13 18:05:49 taca Exp $
+bin/gem${RUBY_SUFFIX}.new
${RUBY_VENDORLIB}/gauntlet_rubygems.rb
${RUBY_VENDORLIB}/rubygems.rb
${RUBY_VENDORLIB}/rubygems/available_set.rb
diff --git a/misc/rubygems/distinfo b/misc/rubygems/distinfo
index 882b18a58cd..0768706512b 100644
--- a/misc/rubygems/distinfo
+++ b/misc/rubygems/distinfo
@@ -1,16 +1,17 @@
-$NetBSD: distinfo,v 1.45 2014/02/19 15:47:32 taca Exp $
+$NetBSD: distinfo,v 1.46 2014/03/13 18:05:49 taca Exp $
SHA1 (rubygems-2.0.10.tgz) = e4119824649771958038b2347485df85c3a09fc6
RMD160 (rubygems-2.0.10.tgz) = cc6c5adb29464217067eeab6e06bbb1b67d6cf42
Size (rubygems-2.0.10.tgz) = 338280 bytes
-SHA1 (patch-aa) = ec1af229bb7cf9b36b0b5669b8c6f3d97f7ea15e
-SHA1 (patch-ab) = a960d57b48397fa499c0ee1a91b534eb10574d06
-SHA1 (patch-ac) = 1a59a5d2fc090dfcf6d3bd3b9c133f0ce4a1feee
-SHA1 (patch-ad) = 40819a75ae0094292417a7c682ed56abd98de1c2
-SHA1 (patch-af) = d96d5dafd830b0c94bf6c191a3274701ebc6d564
-SHA1 (patch-ag) = 1114e30ce7161a6aa98c3ac6c4ee81f1c22a10d8
-SHA1 (patch-ah) = ae9cd39b900793dbb3d22bad88163750e4d120fe
-SHA1 (patch-aj) = 3b77a675470ea3702b9870843d2bb39bb6a83f3e
-SHA1 (patch-am) = 9146ece86c0bae61553c916adafb2c108f3f07a9
-SHA1 (patch-ao) = 4a8be3bdab5e465814b626d17a5f2811fbfc808c
-SHA1 (patch-test_rubygems_test__gem.rb) = 883675c1af0314c66c3d02fb9c012fac768ebb9b
+SHA1 (patch-aa) = a3bde2fd1c77a7437334aa0446ee4decf8a63cd6
+SHA1 (patch-ab) = 90dfc9e075c761532f9c45217a224200c21d6ad3
+SHA1 (patch-ac) = 6ba089cbd8357c3b05eaf476c405741871b3b303
+SHA1 (patch-ad) = 02fd612a5baae276610d1a2751c6e664c27413c8
+SHA1 (patch-af) = 519d25bcdeb0f4d8e9cabdf672fe1c2cf69f8edd
+SHA1 (patch-ag) = 2a580df537ecee799a8762c09206692079d063a9
+SHA1 (patch-ah) = d289815727dbf144f554afe0406810c2f8410632
+SHA1 (patch-aj) = 96257077f01c323a6482390ef7fba685651d3b8c
+SHA1 (patch-am) = 9f258243e0cedea45c36fae5699877374ad7d246
+SHA1 (patch-ao) = 70e1b7aa21e637d5878d5e70ba286455e7f3e937
+SHA1 (patch-lib_rubygems_platform.rb) = 1a80ea59f02366c5de035783e40b7904df4be84f
+SHA1 (patch-test_rubygems_test__gem.rb) = 01f53c715f01b0c9f890248525440cd05b5e3eaa
diff --git a/misc/rubygems/patches/patch-lib_rubygems_platform.rb b/misc/rubygems/patches/patch-lib_rubygems_platform.rb
new file mode 100644
index 00000000000..b6dd49e5488
--- /dev/null
+++ b/misc/rubygems/patches/patch-lib_rubygems_platform.rb
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_rubygems_platform.rb,v 1.1 2014/03/13 18:05:49 taca Exp $
+
+Allow simple "netbsd" as Gem::Platform.
+
+--- lib/rubygems/platform.rb.orig 2013-09-24 23:47:37.000000000 +0000
++++ lib/rubygems/platform.rb
+@@ -84,6 +84,7 @@ class Gem::Platform
+ @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