aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-05-03 19:28:25 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-05-03 19:28:25 +0800
commit061d11a8bab7b9df4fc05c323bf33a0d62c860fa (patch)
treee0ae768158bdb356150f39bf5f6bec86be00428c /mail
parentdd2c1628484e7c50a5c556a147d42cbc5c51cdc9 (diff)
downloadfreebsd-ports-gnome-061d11a8bab7b9df4fc05c323bf33a0d62c860fa.tar.gz
freebsd-ports-gnome-061d11a8bab7b9df4fc05c323bf33a0d62c860fa.tar.zst
freebsd-ports-gnome-061d11a8bab7b9df4fc05c323bf33a0d62c860fa.zip
- Fix gemspec
- Bump PORTREVISION for package change
Diffstat (limited to 'mail')
-rw-r--r--mail/rubygem-mail25/Makefile3
-rw-r--r--mail/rubygem-mail25/files/patch-gemspec11
2 files changed, 13 insertions, 1 deletions
diff --git a/mail/rubygem-mail25/Makefile b/mail/rubygem-mail25/Makefile
index 5274c6c7fcb6..072804257244 100644
--- a/mail/rubygem-mail25/Makefile
+++ b/mail/rubygem-mail25/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mail
PORTVERSION= 2.5.4
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= mail rubygems
MASTER_SITES= RG
@@ -13,7 +14,7 @@ COMMENT= Ruby email handler
LICENSE= MIT
-RUN_DEPENDS= rubygem-mime-types1>=1.25.1:${PORTSDIR}/misc/rubygem-mime-types1 \
+RUN_DEPENDS= rubygem-mime-types1>=1.16:${PORTSDIR}/misc/rubygem-mime-types1 \
rubygem-treetop>=1.4.8:${PORTSDIR}/devel/rubygem-treetop
USE_RUBY= yes
diff --git a/mail/rubygem-mail25/files/patch-gemspec b/mail/rubygem-mail25/files/patch-gemspec
new file mode 100644
index 000000000000..09dbd06816d6
--- /dev/null
+++ b/mail/rubygem-mail25/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- mail.gemspec.orig 2015-05-02 22:19:51 UTC
++++ mail.gemspec
+@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<mime-types>, ["~> 1.16"])
+- s.add_runtime_dependency(%q<treetop>, ["~> 1.4.8"])
++ s.add_runtime_dependency(%q<treetop>, [">= 1.4.8"])
+ s.add_development_dependency(%q<bundler>, [">= 1.0.3"])
+ s.add_development_dependency(%q<rake>, ["> 0.8.7"])
+ s.add_development_dependency(%q<rspec>, ["~> 2.12.0"])