aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-04-26 20:42:58 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-04-26 20:42:58 +0800
commitf5a2c4fc5116777b5ba5c8b5a4d2ed2a46779c5a (patch)
treedbcbe97dc82be9f4cb3e3b34bde2c5facb02770f
parent6471d39f3ddac32f8cad0ff53929a186c93c0b1b (diff)
downloadfreebsd-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/Makefile1
-rw-r--r--devel/rubygem-toml/files/patch-gemspec22
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"])