aboutsummaryrefslogtreecommitdiffstats
path: root/databases/ruby-dbi
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2011-01-17 02:04:28 +0800
committerknu <knu@FreeBSD.org>2011-01-17 02:04:28 +0800
commit80a611e3f90515010c775a63a7ae6e1aa22eafc5 (patch)
tree05898b29cb360c086b47a67bc5ae59ec88a6118f /databases/ruby-dbi
parent9d5babd3208ca751167e84c6407b4f5f7d2c710c (diff)
downloadfreebsd-ports-gnome-80a611e3f90515010c775a63a7ae6e1aa22eafc5.tar.gz
freebsd-ports-gnome-80a611e3f90515010c775a63a7ae6e1aa22eafc5.tar.zst
freebsd-ports-gnome-80a611e3f90515010c775a63a7ae6e1aa22eafc5.zip
Fix error when deprecated >= 3 is installed.
Feature safe: yes
Diffstat (limited to 'databases/ruby-dbi')
-rw-r--r--databases/ruby-dbi/Makefile2
-rw-r--r--databases/ruby-dbi/files/patch-lib+dbi.rb11
2 files changed, 12 insertions, 1 deletions
diff --git a/databases/ruby-dbi/Makefile b/databases/ruby-dbi/Makefile
index 2b4ca67bd0cd..3abd5b749544 100644
--- a/databases/ruby-dbi/Makefile
+++ b/databases/ruby-dbi/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dbi
PORTVERSION= 0.4.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases ruby
MASTER_SITES= RF
MASTER_SITE_SUBDIR= ruby-dbi
diff --git a/databases/ruby-dbi/files/patch-lib+dbi.rb b/databases/ruby-dbi/files/patch-lib+dbi.rb
new file mode 100644
index 000000000000..66557dd00120
--- /dev/null
+++ b/databases/ruby-dbi/files/patch-lib+dbi.rb
@@ -0,0 +1,11 @@
+--- lib/dbi.rb.orig 2009-09-14 05:43:32.000000000 +0900
++++ lib/dbi.rb 2011-01-17 02:53:43.819024000 +0900
+@@ -37,7 +37,7 @@
+
+ begin
+ require "rubygems"
+- gem "deprecated"
++ gem "deprecated", "<3"
+ rescue LoadError
+ end
+