From b692b23141677d46a9cd64c86c8e7de2c637448d Mon Sep 17 00:00:00 2001 From: taca Date: Sat, 19 Nov 2016 15:40:08 +0000 Subject: [PATCH] Stop patching gemspec file and use OVERRIDE_GEMSPEC with updated update-gemspec.rb script. --- textproc/ruby-tilt/Makefile | 3 +- .../patches/patch-.._tilt-1.4.1.gemspec | 30 ------------------- 2 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 textproc/ruby-tilt/patches/patch-.._tilt-1.4.1.gemspec diff --git a/textproc/ruby-tilt/Makefile b/textproc/ruby-tilt/Makefile index 6acf2806122b..40705546f82a 100644 --- a/textproc/ruby-tilt/Makefile +++ b/textproc/ruby-tilt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2015/03/14 07:54:52 taca Exp $ +# $NetBSD: Makefile,v 1.11 2016/11/19 15:40:08 taca Exp $ DISTNAME= tilt-1.4.1 PKGREVISION= 1 @@ -10,6 +10,7 @@ COMMENT= Generic interface to multiple Ruby template engines LICENSE= mit RUBYGEM_OPTIONS+= --format-executable +OVERRIDE_GEMSPEC+= rdoc: .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-tilt/patches/patch-.._tilt-1.4.1.gemspec b/textproc/ruby-tilt/patches/patch-.._tilt-1.4.1.gemspec deleted file mode 100644 index 206ec4e3ba19..000000000000 --- a/textproc/ruby-tilt/patches/patch-.._tilt-1.4.1.gemspec +++ /dev/null @@ -1,30 +0,0 @@ -$NetBSD: patch-.._tilt-1.4.1.gemspec,v 1.1 2015/05/19 12:31:26 ryoon Exp $ - -* Fix build with Ruby 2.2. - ---- ../tilt-1.4.1.gemspec.orig 2015-05-19 12:24:21.000000000 +0000 -+++ ../tilt-1.4.1.gemspec -@@ -46,7 +46,6 @@ Gem::Specification.new do |s| - s.add_development_dependency(%q, [">= 0"]) - s.add_development_dependency(%q, [">= 0"]) - s.add_development_dependency(%q, [">= 0"]) -- s.add_development_dependency(%q, [">= 0"]) - else - s.add_dependency(%q, [">= 0.1.0"]) - s.add_dependency(%q, [">= 0"]) -@@ -70,7 +69,6 @@ Gem::Specification.new do |s| - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) -- s.add_dependency(%q, [">= 0"]) - end - else - s.add_dependency(%q, [">= 0.1.0"]) -@@ -95,7 +93,6 @@ Gem::Specification.new do |s| - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) -- s.add_dependency(%q, [">= 0"]) - end - end -