diff options
author | taca <taca> | 2013-03-07 17:05:42 +0000 |
---|---|---|
committer | taca <taca> | 2013-03-07 17:05:42 +0000 |
commit | b038682e06ec16b7781dccea4035b3e58f8b4f41 (patch) | |
tree | 6ab76ab527809bea05d2a7aa136b635a0455ff7d /graphics/ruby-opengl | |
parent | 6ec45a474904ffbad7fda593917f1cfb5a3c2ff1 (diff) | |
download | pkgsrc-b038682e06ec16b7781dccea4035b3e58f8b4f41.tar.gz |
Fix build problem with ruby18-base, using modern rules from rubygems
and class.
Diffstat (limited to 'graphics/ruby-opengl')
-rw-r--r-- | graphics/ruby-opengl/distinfo | 3 | ||||
-rw-r--r-- | graphics/ruby-opengl/patches/patch-Rakefile | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/graphics/ruby-opengl/distinfo b/graphics/ruby-opengl/distinfo index 92e5df65c42..39ab585bf92 100644 --- a/graphics/ruby-opengl/distinfo +++ b/graphics/ruby-opengl/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.10 2010/06/14 02:25:01 obache Exp $ +$NetBSD: distinfo,v 1.11 2013/03/07 17:05:42 taca Exp $ SHA1 (ruby-opengl-0.60.1.gem) = ae8a2ceec7102fce6450273885372fa16d820c87 RMD160 (ruby-opengl-0.60.1.gem) = fc046485ad0da0a269c5b282cef9f027dad16077 Size (ruby-opengl-0.60.1.gem) = 245248 bytes +SHA1 (patch-Rakefile) = 3fc0debd15a230e43dde593af79aa3e857fa4c2d diff --git a/graphics/ruby-opengl/patches/patch-Rakefile b/graphics/ruby-opengl/patches/patch-Rakefile new file mode 100644 index 00000000000..0de279c37fd --- /dev/null +++ b/graphics/ruby-opengl/patches/patch-Rakefile @@ -0,0 +1,24 @@ +$NetBSD: patch-Rakefile,v 1.1 2013/03/07 17:05:42 taca Exp $ + +* Require modern rule from rubygems and class. + +--- Rakefile.orig 2013-03-07 14:46:35.000000000 +0000 ++++ Rakefile +@@ -21,7 +21,7 @@ end + + require 'rake' + require 'rake/clean' +-require 'rake/gempackagetask' ++require 'rubygems/package_task' + require 'rake/testtask' + + require 'mkrf/rakehelper' +@@ -162,7 +162,7 @@ spec = Gem::Specification.new do |s| + end + + # Create a task for creating a ruby gem +-Rake::GemPackageTask.new(spec) do |pkg| ++Gem::PackageTask.new(spec) do |pkg| + pkg.gem_spec = spec + pkg.need_tar = true + end |