aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-07-21 21:36:40 +0800
committerpav <pav@FreeBSD.org>2005-07-21 21:36:40 +0800
commit73e308c2712c6d0f086aa5a76face6e8589d4f8a (patch)
tree6e0f11f8b658611273c8ba1b5775f4d9da029523
parentb0482821263717ddd299c0b8022932ec29e88117 (diff)
downloadfreebsd-ports-gnome-73e308c2712c6d0f086aa5a76face6e8589d4f8a.tar.gz
freebsd-ports-gnome-73e308c2712c6d0f086aa5a76face6e8589d4f8a.tar.zst
freebsd-ports-gnome-73e308c2712c6d0f086aa5a76face6e8589d4f8a.zip
- Fix runtime (File.pwd -> Dir.pwd)
PR: ports/81816 Submitted by: IWATSUKI Hiroyuki <don@na.rim.or.jp> Approved by: maintainer timeout (18 days)
-rw-r--r--devel/ruby-setup.rb/Makefile1
-rw-r--r--devel/ruby-setup.rb/files/patch-ruby-setup.rb2
2 files changed, 2 insertions, 1 deletions
diff --git a/devel/ruby-setup.rb/Makefile b/devel/ruby-setup.rb/Makefile
index 7341be093061..21b2e53b2f13 100644
--- a/devel/ruby-setup.rb/Makefile
+++ b/devel/ruby-setup.rb/Makefile
@@ -7,6 +7,7 @@
PORTNAME= setup.rb
PORTVERSION= 3.3.1
+PORTREVISION= 1
CATEGORIES= devel ruby
MASTER_SITES= http://www.loveruby.net/archive/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME:R}
diff --git a/devel/ruby-setup.rb/files/patch-ruby-setup.rb b/devel/ruby-setup.rb/files/patch-ruby-setup.rb
index d7bfb08ce93a..d8bffbc425d0 100644
--- a/devel/ruby-setup.rb/files/patch-ruby-setup.rb
+++ b/devel/ruby-setup.rb/files/patch-ruby-setup.rb
@@ -5,7 +5,7 @@
def ToplevelInstaller.instance
- @singleton ||= new(File.dirname($0))
-+ @singleton ||= new(File.pwd)
++ @singleton ||= new(Dir.pwd)
@singleton
end