comparepdf: update qmake spec

Note, this does not allow building with Xcode 5.
This commit is contained in:
Adam Vandenberg 2013-12-15 20:09:53 -08:00
parent 6f1259607b
commit 43cea2c8cf

View file

@ -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'