summaryrefslogtreecommitdiff
path: root/net-im/mikutter/files/patch-mikutter.rb
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2013-06-23 12:34:33 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2013-06-23 12:34:33 +0000
commitc34b60da51eafeb033d41c435692f4099b6e9f63 (patch)
tree0dc735a6581450d57e753a02e5bcea104ee84dc7 /net-im/mikutter/files/patch-mikutter.rb
parentIf nginx was compiled without --with-http_ssl_module, but with some (diff)
- Update net-im/mikutter to 0.2.2.1264 [1]
* Convert NOPORTDOCS to PORT_OPTIONS:MDOCS [1] * Remove LICENSE_FILE for standard license * Remove INSTALL_DEPENDS * Make use of rubygem ports instead of ruby- prefix ports * Update the restriction of Ruby version * Cleanup post-patch target - Remove net-im/mikutter003 [2] * Consider using net-im/mikutter * Add an entry to UPDATING PR: ports/179320 (based on) [1] PR: ports/179504 (based on) [2] Submitted by: Koichiro IWAO <meta+ports_AT_vmeta_DOT_jp> [1][2]
Diffstat (limited to 'net-im/mikutter/files/patch-mikutter.rb')
-rw-r--r--net-im/mikutter/files/patch-mikutter.rb20
1 files changed, 8 insertions, 12 deletions
diff --git a/net-im/mikutter/files/patch-mikutter.rb b/net-im/mikutter/files/patch-mikutter.rb
index 02ca8016696a..73fa18eb9ed7 100644
--- a/net-im/mikutter/files/patch-mikutter.rb
+++ b/net-im/mikutter/files/patch-mikutter.rb
@@ -1,15 +1,11 @@
---- mikutter.rb.orig 2012-10-23 09:12:05.000000000 +0900
-+++ mikutter.rb 2012-12-02 09:51:43.000000000 +0900
-@@ -12,11 +12,7 @@
+--- mikutter.rb.orig 2013-06-12 02:55:23.699616516 +0000
++++ mikutter.rb 2013-06-12 02:58:14.554656063 +0000
+@@ -11,7 +11,7 @@
+ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
=end
+-mikutter_directory = File.expand_path(File.dirname(__FILE__))
++mikutter_directory = '%%RUBY_SITELIBDIR%%/mikutter'
--if File.symlink?($0)
-- Dir.chdir(File.join(File.dirname(File.readlink($0)), 'core'))
--else
-- Dir.chdir(File.join(File.dirname($0), 'core'))
--end
-+Dir.chdir('%%RUBY_SITELIBDIR%%/mikutter/core')
-
- Thread.abort_on_exception = true
- ENV['LIBOVERLAY_SCROLLBAR'] = '0'
+ begin
+ ENV['BUNDLE_GEMFILE'] = File.expand_path(File.join(File.dirname($0), "Gemfile"))