aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-06-22 10:59:11 -0700
committerAdam Vandenberg2012-06-23 10:16:41 -0700
commit5de911e221dc908a37393d85ec0c321c0e1d9070 (patch)
tree1f66206d976f5add5fb47eccaf62d0b9f7cc6f29 /Library/Formula
parent33ca8c4ad5e75b6f8a06412e9f13c67b9871014b (diff)
downloadhomebrew-5de911e221dc908a37393d85ec0c321c0e1d9070.tar.bz2
ipe: fix compilation
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ipe.rb12
1 files changed, 11 insertions, 1 deletions
diff --git a/Library/Formula/ipe.rb b/Library/Formula/ipe.rb
index fea8a639b..8a4094577 100644
--- a/Library/Formula/ipe.rb
+++ b/Library/Formula/ipe.rb
@@ -3,7 +3,7 @@ require 'formula'
class Ipe < Formula
homepage 'http://ipe7.sourceforge.net'
url 'http://sourceforge.net/projects/ipe7/files/ipe/7.1.0/ipe-7.1.2-src.tar.gz'
- md5 '887f65359d60e184a446cbe77def5176'
+ sha1 '7c55d2b72bb256dc99b18145644ae27edc9a056c'
depends_on 'pkg-config' => :build
depends_on 'makeicns' => :build
@@ -17,8 +17,18 @@ class Ipe < Formula
# https://sourceforge.net/apps/mantisbt/ipe7/view.php?id=105
def patches; DATA; end
+ fails_with :clang do
+ build 318
+ cause <<-EOS.undent
+ IPE should be compiled with the same flags as Qt, which uses LLVM.
+ ipeui_common.cpp:1: error: bad value (native) for -march= switch
+ EOS
+ end
+
def install
cd 'src' do
+ system "make", "IPEPREFIX=#{prefix}"
+ ENV.j1 # Parallel install fails
system "make", "IPEPREFIX=#{prefix}", "install"
end
end