Postgres-XC: add compatibility with OS X 10.9.

Closes Homebrew/homebrew#23919.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Lifepillar 2013-11-03 13:05:32 +01:00 committed by Adam Vandenberg
parent 672f760fcd
commit 9febc562fd

View file

@ -31,6 +31,9 @@ class PostgresXc < Formula
def install
ENV.libxml2 if MacOS.version >= :snow_leopard
# See http://sourceforge.net/mailarchive/forum.php?thread_name=82E44F89-543A-44F2-8AF8-F6909B5DC561%40uniud.it&forum_name=postgres-xc-bugs
ENV.append 'CFLAGS', '-D_FORTIFY_SOURCE=0 -O2' if MacOS.version >= :mavericks
args = ["--disable-debug",
"--prefix=#{prefix}",
"--datadir=#{share}/#{name}",