diff options
| author | Adam Vandenberg | 2013-12-15 20:09:53 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-12-16 21:14:58 -0800 |
| commit | b73e0fc9ed61dbd0b99c3cf71f20970e74cac61d (patch) | |
| tree | f0b192cc67b2bc6e8579e127ef9d9dee5f078c4a /Library/Formula | |
| parent | ec55b11582e230b735c3c1938261677696219a7e (diff) | |
| download | homebrew-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.rb | 7 |
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' |
