aboutsummaryrefslogtreecommitdiff
path: root/sysutils/vagrant
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2016-03-20 19:11:52 +0000
committerMark Felder <feld@FreeBSD.org>2016-03-20 19:11:52 +0000
commit4d373c85e5103112eb5415c9d23460c970fd9431 (patch)
tree17b1f529c10669350798112226cc15f921f10fac /sysutils/vagrant
parentc6331307fbec3fb6b88e7792f7efb3c40f66e11b (diff)
downloadports-4d373c85e5103112eb5415c9d23460c970fd9431.tar.gz
ports-4d373c85e5103112eb5415c9d23460c970fd9431.zip
sysutils/vagrant: fix plugin subcommand
PR: 207184
Notes
Notes: svn path=/head/; revision=411514
Diffstat (limited to 'sysutils/vagrant')
-rw-r--r--sysutils/vagrant/Makefile2
-rw-r--r--sysutils/vagrant/files/patch-lib_vagrant_bundler11
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/vagrant/Makefile b/sysutils/vagrant/Makefile
index cb868d560b4b..c0610018ea93 100644
--- a/sysutils/vagrant/Makefile
+++ b/sysutils/vagrant/Makefile
@@ -4,7 +4,7 @@
PORTNAME= vagrant
PORTVERSION= 1.8.1
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils rubygems devel
MAINTAINER= joe@thrallingpenguin.com
diff --git a/sysutils/vagrant/files/patch-lib_vagrant_bundler b/sysutils/vagrant/files/patch-lib_vagrant_bundler
new file mode 100644
index 000000000000..9f7bcd43708c
--- /dev/null
+++ b/sysutils/vagrant/files/patch-lib_vagrant_bundler
@@ -0,0 +1,11 @@
+--- lib/vagrant/bundler.rb.orig
++++ lib/vagrant/bundler.rb
+@@ -265,7 +265,7 @@ module Vagrant
+
+ # Reset the all specs override that Bundler does
+ old_all = Gem::Specification._all
+- Gem::Specification.all = nil
++ begin Gem::Specification.all = nil; rescue; end
+
+ # /etc/gemrc and so on.
+ old_config = nil