Skip to content

Instantly share code, notes, and snippets.

@oyvindio
Created February 6, 2013 10:16
Show Gist options
  • Save oyvindio/4721643 to your computer and use it in GitHub Desktop.
Save oyvindio/4721643 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment