summaryrefslogtreecommitdiff
path: root/devel/ruby-rgl/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-rgl/patches/patch-aa')
-rw-r--r--devel/ruby-rgl/patches/patch-aa26
1 files changed, 0 insertions, 26 deletions
diff --git a/devel/ruby-rgl/patches/patch-aa b/devel/ruby-rgl/patches/patch-aa
deleted file mode 100644
index a7ea9407cb4..00000000000
--- a/devel/ruby-rgl/patches/patch-aa
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/05/03 23:11:03 minskim Exp $
-
---- install.rb.orig 2004-10-08 10:13:14.000000000 -0500
-+++ install.rb
-@@ -8,8 +8,20 @@ require 'find'
- SRC_BASE = 'lib'
- SRC = 'rgl'
-
-+include Config
-
--INSTDIR = File.join Config::CONFIG['sitedir']
-+$sitedir = CONFIG["sitelibdir"]
-+unless $sitedir
-+ version = CONFIG["MAJOR"] + "." + CONFIG["MINOR"]
-+ $libdir = File.join(CONFIG["libdir"], "ruby", version)
-+ $sitedir = $:.find {|x| x =~ /site_ruby/ }
-+ if !$sitedir
-+ $sitedir = File.join($libdir, "site_ruby")
-+ elsif $sitedir !~ Regexp.quote(version)
-+ $sitedir = File.join($sitedir, version)
-+ end
-+end
-+INSTDIR = $sitedir
- DESTDIR = File.join INSTDIR, SRC
-
- opts = GetoptLong.new( [ "--uninstall", "-u", GetoptLong::NO_ARGUMENT ] )