aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-gems
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2008-01-22 21:10:55 +0000
committerXin LI <delphij@FreeBSD.org>2008-01-22 21:10:55 +0000
commit7fe23dfed7f7e2eaf1e0cd64993cd7f7747d8667 (patch)
treef525a249c0ae0f58fc407c96ae06d44efdafb488 /devel/ruby-gems
parent34a8f0d957f256ec8bcba5ea62c1398c13d8a673 (diff)
downloadports-7fe23dfed7f7e2eaf1e0cd64993cd7f7747d8667.tar.gz
ports-7fe23dfed7f7e2eaf1e0cd64993cd7f7747d8667.zip
Notes
Diffstat (limited to 'devel/ruby-gems')
-rw-r--r--devel/ruby-gems/Makefile2
-rw-r--r--devel/ruby-gems/files/patch-lib-rubygems-source_info_cache.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/ruby-gems/Makefile b/devel/ruby-gems/Makefile
index f41ea25672da..513fd5482bde 100644
--- a/devel/ruby-gems/Makefile
+++ b/devel/ruby-gems/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gems
PORTVERSION= 1.0.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ruby${PORTNAME}
diff --git a/devel/ruby-gems/files/patch-lib-rubygems-source_info_cache.rb b/devel/ruby-gems/files/patch-lib-rubygems-source_info_cache.rb
index 85f801e750c4..f897e7fa0154 100644
--- a/devel/ruby-gems/files/patch-lib-rubygems-source_info_cache.rb
+++ b/devel/ruby-gems/files/patch-lib-rubygems-source_info_cache.rb
@@ -27,8 +27,8 @@
@@ -107,6 +110,7 @@
def reset_cache_data
- @cache_data = {}
+ FileUtils.rm @cache_file
+ @cache_data = {}
end
# The name of the cache file to be read