aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2009-10-02 19:56:20 +0100
committerMax Howell2009-10-02 20:01:23 +0100
commit8328d0e7db1b9d884984b02aee791aedbf8a916a (patch)
tree4c80a880319fa615c06878cc377bfe16a1004b70 /Library/Formula
parent7702e83d12d15eb2698fad4973e5a59f48ac06bc (diff)
downloadhomebrew-8328d0e7db1b9d884984b02aee791aedbf8a916a.tar.bz2
Fix Weechat always installing to /usr/local
The WeeChat devs don't know about CMAKE_INSTALL_PREFIX apparently, someone should tell them. I won't. I plan on just sitting back and shacking my head side-to-side instead.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/weechat.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/weechat.rb b/Library/Formula/weechat.rb
index f2c6f3df3..b248cf494 100644
--- a/Library/Formula/weechat.rb
+++ b/Library/Formula/weechat.rb
@@ -11,7 +11,10 @@ class Weechat <Formula
def install
#FIXME: Compiling perl module doesn't work
#FIXME: GnuTLS support isn't detected
- system "cmake", "-DDISABLE_PERL=ON", std_cmake_parameters, "."
+ #NOTE: -DPREFIX has to be specified because weechat devs enjoy being non-standard
+ system "cmake", "-DPREFIX=#{prefix}",
+ "-DDISABLE_PERL=ON",
+ std_cmake_parameters, "."
system "make install"
end
end