diff options
| -rw-r--r-- | Library/Formula/falcon.rb | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Library/Formula/falcon.rb b/Library/Formula/falcon.rb index d6e316260..6962fcd23 100644 --- a/Library/Formula/falcon.rb +++ b/Library/Formula/falcon.rb @@ -10,6 +10,9 @@ class Falcon < Formula depends_on 'cmake' => :build depends_on 'pcre' + conflicts_with 'sdl', + :because => "Falcon optionally depends on SDL and then the build breaks. Fix it!" + def options [ ['--editline', "Use editline instead of readline"], @@ -18,15 +21,13 @@ class Falcon < Formula end def install - args = ["-DCMAKE_BUILD_TYPE=Release", - "-DCMAKE_INSTALL_PREFIX=#{prefix}", - "-DFALCON_BIN_DIR=#{bin}", - "-DFALCON_LIB_DIR=#{lib}", - "-DFALCON_MAN_DIR=#{man1}", - "-DFALCON_WITH_MANPAGES=ON", - "-DFALCON_WITH_INTERNAL_PCRE=ON", - "-DFALCON_WITH_INTERNAL_ZLIB=ON", - "-DFALCON_WITH_INTERNAL=ON"] + args = std_cmake_args + %W{ + -DCMAKE_INSTALL_PREFIX=#{prefix} + -DFALCON_BIN_DIR=#{bin} + -DFALCON_LIB_DIR=#{lib} + -DFALCON_MAN_DIR=#{man1} + -DFALCON_WITH_INTERNAL_PCRE=OFF + -DFALCON_WITH_MANPAGES=ON} if ARGV.include? '--editline' args << "-DFALCON_WITH_EDITLINE=ON" |
