diff options
author | taca <taca@pkgsrc.org> | 2011-08-12 15:56:38 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2011-08-12 15:56:38 +0000 |
commit | f692f7c24be5593474a13a5265e0fcb2587fc97a (patch) | |
tree | 06cca2a6fe6aaa781a73dce193c2c13dd97ccc13 /devel | |
parent | 2eb364cf6018b434c6120e9476d0aaddf5d4e5a3 (diff) | |
download | pkgsrc-f692f7c24be5593474a13a5265e0fcb2587fc97a.tar.gz |
Avoid to define constant Deprecate since it is conflict with rubygems.
Newer rubygems poorly defines module Deprecate which could be
Gem::Deprecate.
Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-deprecated/Makefile | 3 | ||||
-rw-r--r-- | devel/ruby-deprecated/distinfo | 3 | ||||
-rw-r--r-- | devel/ruby-deprecated/patches/patch-lib_deprecated.rb | 12 |
3 files changed, 16 insertions, 2 deletions
diff --git a/devel/ruby-deprecated/Makefile b/devel/ruby-deprecated/Makefile index 0022ae8914e..778a77dce2d 100644 --- a/devel/ruby-deprecated/Makefile +++ b/devel/ruby-deprecated/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2010/09/10 05:32:01 taca Exp $ +# $NetBSD: Makefile,v 1.3 2011/08/12 15:56:38 taca Exp $ DISTNAME= deprecated-2.0.1 +PKGREVISION= 1 CATEGORIES= devel ruby # diff --git a/devel/ruby-deprecated/distinfo b/devel/ruby-deprecated/distinfo index 76a86c5dc47..aff88efd775 100644 --- a/devel/ruby-deprecated/distinfo +++ b/devel/ruby-deprecated/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2009/10/20 02:50:45 taca Exp $ +$NetBSD: distinfo,v 1.2 2011/08/12 15:56:38 taca Exp $ SHA1 (deprecated-2.0.1.gem) = 366fe846dbe85b7abc45e70e3439afdfd2bbe6dd RMD160 (deprecated-2.0.1.gem) = a5dcfec594a891368b3db6c2f4c09d0513720298 Size (deprecated-2.0.1.gem) = 6144 bytes +SHA1 (patch-lib_deprecated.rb) = 7fe58a99a37b4419d467b26485b3146c22074dfa diff --git a/devel/ruby-deprecated/patches/patch-lib_deprecated.rb b/devel/ruby-deprecated/patches/patch-lib_deprecated.rb new file mode 100644 index 00000000000..2d94f166d7e --- /dev/null +++ b/devel/ruby-deprecated/patches/patch-lib_deprecated.rb @@ -0,0 +1,12 @@ +$NetBSD: patch-lib_deprecated.rb,v 1.1 2011/08/12 15:56:38 taca Exp $ + +* Avoid to use Deprecate since it would be conflict with newer rubygems. + +--- lib/deprecated.rb.orig 2011-08-09 00:21:03.000000000 +0000 ++++ lib/deprecated.rb +@@ -195,5 +195,3 @@ Module.send(:define_method, :deprecate, + end) + + Deprecated.set_action(:warn) +- +-Deprecate = Deprecated |