aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Rudd2011-03-28 17:05:37 +1000
committerAdam Vandenberg2011-03-28 09:02:00 -0700
commit8de506ad7e5d92662c3c3e276d5b34fe4d8d168d (patch)
tree4f5abf8fb24da872d9d7b6bd192913da6f6bbdd4 /Library
parent1efd11d9f030804654534f19f015cdaeccab7ed2 (diff)
downloadhomebrew-8de506ad7e5d92662c3c3e276d5b34fe4d8d168d.tar.bz2
mosquitto - correct man page installation
This commit adds a patch to the mosquitto formula that corrects its man page installation. There was an error in man/CMakeLists.txt in that the variable MANDEST should have been wrapped in braces rather than parentheses. This patch is downloaded from the mosquitto mercurial repository at bitbucket. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mosquitto.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/mosquitto.rb b/Library/Formula/mosquitto.rb
index 4efadc12f..ffe23fd1f 100644
--- a/Library/Formula/mosquitto.rb
+++ b/Library/Formula/mosquitto.rb
@@ -7,8 +7,13 @@ class Mosquitto < Formula
depends_on 'cmake' => :build
+ def patches
+ # Fixes man page installation: in man/CMakeLists.txt,
+ # the parentheses around MANDEST should be braces.
+ { :p1 => "https://bitbucket.org/oojah/mosquitto/changeset/fc5c83daefb0/raw/mosquitto-fc5c83daefb0.diff" }
+ end
+
def install
- ENV.deparallelize
system "cmake . #{std_cmake_parameters}"
system "make install"
end