From 8de506ad7e5d92662c3c3e276d5b34fe4d8d168d Mon Sep 17 00:00:00 2001 From: Adam Rudd Date: Mon, 28 Mar 2011 17:05:37 +1000 Subject: 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 --- Library/Formula/mosquitto.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3