Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Building with perl breaks on Yosemite
Browse files Browse the repository at this point in the history
  • Loading branch information
dgoodlad committed Sep 9, 2014
1 parent be98dd1 commit 39fa57e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions files/brews/postgresql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@ def install

args << "--with-ossp-uuid" unless ARGV.include? '--no-ossp-uuid'
args << "--with-python" unless ARGV.include? '--no-python'
args << "--with-perl" unless ARGV.include? '--no-perl'
args << "--enable-dtrace" if ARGV.include? '--enable-dtrace'

if MacOS.version < :yosemite
args << "--with-perl" unless ARGV.include? '--no-perl'
end

ENV.append 'CFLAGS', `uuid-config --cflags`.strip
ENV.append 'LDFLAGS', `uuid-config --ldflags`.strip
ENV.append 'LIBS', `uuid-config --libs`.strip
Expand Down Expand Up @@ -111,7 +114,7 @@ def check_python_arch
-override python_libspec = -framework Python
-override python_additional_libs =
endif

# If we don't have a shared library and the platform doesn't allow it
--- a/contrib/uuid-ossp/uuid-ossp.c 2012-07-30 18:34:53.000000000 -0700
+++ b/contrib/uuid-ossp/uuid-ossp.c 2012-07-30 18:35:03.000000000 -0700
Expand Down

0 comments on commit 39fa57e

Please sign in to comment.