aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2012-08-03 20:54:43 +0100
committerMike McQuaid2012-08-03 20:55:28 +0100
commitabf0d2a8b487873ba073d860f77b0522f581dd2f (patch)
treeb42e9ff3c964479dcb14c6e988f8e76526c98393 /Library/Formula
parent54d2abc8b06e59684a83c77812a2d88a2c2a0db4 (diff)
downloadhomebrew-abf0d2a8b487873ba073d860f77b0522f581dd2f.tar.bz2
freerdp: cleanup and fix Mountain Lion build.
Fixes #13353.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/freerdp.rb16
1 files changed, 10 insertions, 6 deletions
diff --git a/Library/Formula/freerdp.rb b/Library/Formula/freerdp.rb
index f0cdbfa8c..a96c7693a 100644
--- a/Library/Formula/freerdp.rb
+++ b/Library/Formula/freerdp.rb
@@ -3,22 +3,26 @@ require 'formula'
class Freerdp < Formula
homepage 'http://www.freerdp.com/'
url 'https://github.com/FreeRDP/FreeRDP/tarball/1.0.1'
- md5 '1282189a87893bf196da20382e45f6c1'
+ sha1 '93a7ffaa0e0942f3446810777154bf78053cc66c'
head 'https://github.com/FreeRDP/FreeRDP.git'
depends_on 'cmake' => :build
depends_on 'pkg-config' => :build
- # Fixes clang build problems
- # Already upstream, check for removal on 1.1 release:
- # https://github.com/FreeRDP/FreeRDP/pull/544
def patches
- 'https://github.com/bmiklautz/FreeRDP/commit/1d32894775edd1bacdbcb4b6c3e129841b637374.patch'
+ [
+ # Fixes clang build problems
+ # Already upstream, check for removal on 1.1 release:
+ # https://github.com/FreeRDP/FreeRDP/pull/544
+ 'https://github.com/mikemcquaid/FreeRDP/commit/1d3289.patch',
+ # Fixes Mountain Lion build problem
+ 'https://github.com/mikemcquaid/FreeRDP/commit/e32f9e.patch'
+ ]
end
def install
- system "cmake", ".", *std_cmake_args
+ system "cmake", ".", "-DWITH_X11=OFF", *std_cmake_args
system "make install"
end
end