diff options
| author | Mike McQuaid | 2014-03-06 20:40:26 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2014-03-08 00:54:35 +0000 | 
| commit | 9de9f8d10e8e6d8c2d7cf7b74e6085038fc728d9 (patch) | |
| tree | 2c9f666ed5bda1fdf28f56b4637fb4d6c5ccc0a1 /Library/Formula/postgres-xc.rb | |
| parent | e6dd316f1e5988f50f524c627c38ce5473097cc1 (diff) | |
| download | homebrew-9de9f8d10e8e6d8c2d7cf7b74e6085038fc728d9.tar.bz2 | |
formulae: fix with/without usage.
Closes #27275.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/postgres-xc.rb')
| -rw-r--r-- | Library/Formula/postgres-xc.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/Library/Formula/postgres-xc.rb b/Library/Formula/postgres-xc.rb index 8fdaa87f5..7bc039f53 100644 --- a/Library/Formula/postgres-xc.rb +++ b/Library/Formula/postgres-xc.rb @@ -46,13 +46,13 @@ class PostgresXc < Formula              "--with-libxml",              "--with-libxslt"] -    args << "--with-ossp-uuid" unless build.without? 'ossp-uuid' +    args << "--with-ossp-uuid" if build.with? 'ossp-uuid'      args << "--with-python" if build.with? 'python'      args << "--with-perl" unless build.include? 'no-perl'      args << "--enable-dtrace" if build.include? 'enable-dtrace'      args << "ARCHFLAGS='-arch x86_64'" -    unless build.without? 'ossp-uuid' +    if build.with? 'ossp-uuid'        ENV.append 'CFLAGS', `uuid-config --cflags`.strip        ENV.append 'LDFLAGS', `uuid-config --ldflags`.strip        ENV.append 'LIBS', `uuid-config --libs`.strip | 
