summaryrefslogtreecommitdiff
path: root/textproc/ruby-json/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ruby-json/patches/patch-aa')
-rw-r--r--textproc/ruby-json/patches/patch-aa31
1 files changed, 31 insertions, 0 deletions
diff --git a/textproc/ruby-json/patches/patch-aa b/textproc/ruby-json/patches/patch-aa
new file mode 100644
index 00000000000..ad7502c2288
--- /dev/null
+++ b/textproc/ruby-json/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/04/04 15:21:43 jlam Exp $
+
+--- Rakefile.orig 1969-12-31 19:00:00.000000000 -0500
++++ Rakefile
+@@ -12,7 +12,7 @@ include Config
+ ON_WINDOWS = RUBY_PLATFORM =~ /mswin32/i
+ PKG_NAME = 'json'
+ PKG_VERSION = File.read('VERSION').chomp
+-PKG_FILES = FileList["**/*"].exclude(/CVS|pkg|coverage|Makefile/).exclude(/\.(so|bundle|o|#{CONFIG['DLEXT']})$/)
++PKG_FILES = FileList["**/*"].exclude(/CVS|pkg|coverage|Makefile/).exclude(/\.(so|bundle|o|orig|#{CONFIG['DLEXT']})$/)
+ EXT_ROOT_DIR = 'ext/json/ext'
+ EXT_PARSER_DIR = "#{EXT_ROOT_DIR}/parser"
+ EXT_PARSER_DL = "#{EXT_ROOT_DIR}/parser.#{CONFIG['DLEXT']}"
+@@ -219,8 +219,6 @@ if defined? Gem
+ s.require_paths << 'lib'
+
+ s.bindir = "bin"
+- s.executables = ["edit_json.rb"]
+- s.default_executable = "edit_json.rb"
+
+ s.has_rdoc = true
+ s.rdoc_options <<
+@@ -243,7 +241,7 @@ if defined? Gem
+ mkdir_p 'pkg'
+ spec_win_ext = Gem::Specification.new do |s|
+ s.name = 'json'
+- s.platform = Gem::Platform::WIN32
++ s.platform = Gem::Platform::CURRENT
+ s.version = PKG_VERSION
+ s.summary = "A JSON implementation as a Ruby extension"
+ s.description = ""