Skip to content

Instantly share code, notes, and snippets.

@oyvindio
Created February 6, 2013 10:16
Show Gist options
  • Select an option

  • Save oyvindio/4721643 to your computer and use it in GitHub Desktop.

Select an option

Save oyvindio/4721643 to your computer and use it in GitHub Desktop.

Revisions

  1. oyvindio created this gist Feb 6, 2013.
    19 changes: 19 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    diff --git a/Library/Formula/weechat.rb b/Library/Formula/weechat.rb
    index a2924b6..82b7f0f 100644
    --- a/Library/Formula/weechat.rb
    +++ b/Library/Formula/weechat.rb
    @@ -57,6 +57,14 @@ class Weechat < Formula
    system 'make install'
    end

    + def patches
    + # This patch disables some of the checks cmake does on iconv to
    + # ensure that libiconv is found and used. This is needed to make
    + # weechat's cmake configuration build and install the charset
    + # plugin
    + "https://raw.github.com/gist/4027036/303d074da7ee871c522d807ac533a1331fc2f237/FindIconv.cmake"
    + end
    +
    def caveats; <<-EOS.undent
    Weechat can depend on Aspell if you choose the --aspell option, but
    Aspell should be installed manually before installing Weechat so that