aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/postgres-xc.rb
diff options
context:
space:
mode:
authorLifepillar2013-11-03 13:05:32 +0100
committerAdam Vandenberg2013-11-03 07:28:39 -0800
commitfb050bf6bfea710387d5b51002c07fc9054dd2ff (patch)
tree988e9c297ab2f4a30b7cf342c0f78c5149767082 /Library/Formula/postgres-xc.rb
parentc59de664a38519cd67b5c3b6f72360bdc0c22854 (diff)
downloadhomebrew-fb050bf6bfea710387d5b51002c07fc9054dd2ff.tar.bz2
Postgres-XC: add compatibility with OS X 10.9.
Closes #23919. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/postgres-xc.rb')
-rw-r--r--Library/Formula/postgres-xc.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/postgres-xc.rb b/Library/Formula/postgres-xc.rb
index 1fb3fc85f..4c8e01495 100644
--- a/Library/Formula/postgres-xc.rb
+++ b/Library/Formula/postgres-xc.rb
@@ -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}",