diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-04-26 20:42:58 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-04-26 20:42:58 +0800 |
commit | f5a2c4fc5116777b5ba5c8b5a4d2ed2a46779c5a (patch) | |
tree | dbcbe97dc82be9f4cb3e3b34bde2c5facb02770f | |
parent | 6471d39f3ddac32f8cad0ff53929a186c93c0b1b (diff) | |
download | freebsd-ports-gnome-f5a2c4fc5116777b5ba5c8b5a4d2ed2a46779c5a.tar.gz freebsd-ports-gnome-f5a2c4fc5116777b5ba5c8b5a4d2ed2a46779c5a.tar.zst freebsd-ports-gnome-f5a2c4fc5116777b5ba5c8b5a4d2ed2a46779c5a.zip |
- Fix gemspec patch
- Bump PORTREVISION for package change
PR: 199668
Submitted by: Sir l33tname <sirl33tname@gmail.com>, Michael Moll <kvedulv@kvedulv.de>
-rw-r--r-- | devel/rubygem-toml/Makefile | 1 | ||||
-rw-r--r-- | devel/rubygem-toml/files/patch-gemspec | 22 |
2 files changed, 12 insertions, 11 deletions
diff --git a/devel/rubygem-toml/Makefile b/devel/rubygem-toml/Makefile index a43aff3a1ade..ac7d0f988c00 100644 --- a/devel/rubygem-toml/Makefile +++ b/devel/rubygem-toml/Makefile @@ -3,6 +3,7 @@ PORTNAME= toml PORTVERSION= 0.1.2 +PORTREVISION= 1 CATEGORIES= devel rubygems MASTER_SITES= RG diff --git a/devel/rubygem-toml/files/patch-gemspec b/devel/rubygem-toml/files/patch-gemspec index 62bfdfd1ce40..ca6e522b796f 100644 --- a/devel/rubygem-toml/files/patch-gemspec +++ b/devel/rubygem-toml/files/patch-gemspec @@ -1,11 +1,11 @@ ---- toml.gemspec.orig 2015-01-21 20:38:16.000000000 +0000 -+++ toml.gemspec 2015-01-21 20:38:37.000000000 +0000 -@@ -30,7 +30,7 @@ - s.add_dependency(%q<rake>, [">= 0"]) - end - else -- s.add_dependency(%q<parslet>, ["~> 1.5.0"]) -+ s.add_dependency(%q<parslet>, [">= 1.5.0"]) - s.add_dependency(%q<rake>, [">= 0"]) - end - end +--- toml.gemspec.orig 2015-04-26 12:28:35 UTC ++++ toml.gemspec +@@ -23,7 +23,7 @@ Gem::Specification.new do |s| + s.specification_version = 2 + + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then +- s.add_runtime_dependency(%q<parslet>, ["~> 1.5.0"]) ++ s.add_runtime_dependency(%q<parslet>, [">= 1.5.0"]) + s.add_development_dependency(%q<rake>, [">= 0"]) + else + s.add_dependency(%q<parslet>, ["~> 1.5.0"]) |