Stop patching gemspec file and use OVERRIDE_GEMSPEC with updated

update-gemspec.rb script.
This commit is contained in:
taca 2016-11-19 15:40:08 +00:00
parent 910778b94b
commit b692b23141
2 changed files with 2 additions and 31 deletions

View file

@ -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"

View file

@ -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<sass>, [">= 0"])
s.add_development_dependency(%q<wikicloth>, [">= 0"])
s.add_development_dependency(%q<yajl-ruby>, [">= 0"])
- s.add_development_dependency(%q<rdoc>, [">= 0"])
else
s.add_dependency(%q<asciidoctor>, [">= 0.1.0"])
s.add_dependency(%q<RedCloth>, [">= 0"])
@@ -70,7 +69,6 @@ Gem::Specification.new do |s|
s.add_dependency(%q<sass>, [">= 0"])
s.add_dependency(%q<wikicloth>, [">= 0"])
s.add_dependency(%q<yajl-ruby>, [">= 0"])
- s.add_dependency(%q<rdoc>, [">= 0"])
end
else
s.add_dependency(%q<asciidoctor>, [">= 0.1.0"])
@@ -95,7 +93,6 @@ Gem::Specification.new do |s|
s.add_dependency(%q<sass>, [">= 0"])
s.add_dependency(%q<wikicloth>, [">= 0"])
s.add_dependency(%q<yajl-ruby>, [">= 0"])
- s.add_dependency(%q<rdoc>, [">= 0"])
end
end