aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-12-15 20:09:53 -0800
committerAdam Vandenberg2013-12-16 21:14:58 -0800
commitb73e0fc9ed61dbd0b99c3cf71f20970e74cac61d (patch)
treef0b192cc67b2bc6e8579e127ef9d9dee5f078c4a /Library/Formula
parentec55b11582e230b735c3c1938261677696219a7e (diff)
downloadhomebrew-b73e0fc9ed61dbd0b99c3cf71f20970e74cac61d.tar.bz2
comparepdf: update qmake spec
Note, this does not allow building with Xcode 5.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/comparepdf.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/comparepdf.rb b/Library/Formula/comparepdf.rb
index 314b11c9d..4029e8760 100644
--- a/Library/Formula/comparepdf.rb
+++ b/Library/Formula/comparepdf.rb
@@ -10,7 +10,12 @@ class Comparepdf < Formula
def install
# Generate makefile and disable .app creation
- system 'qmake -spec macx-g++ CONFIG-=app_bundle'
+ if MacOS.version >= :mavericks && ENV.compiler == :clang
+ spec = 'unsupported/macx-clang-libc++'
+ else
+ spec = 'macx-g++'
+ end
+ system 'qmake', '-spec', spec, 'CONFIG-=app_bundle'
system 'make'
bin.install 'comparepdf'