aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorPhilippe Latulippe2012-08-15 12:35:17 -0400
committerAdam Vandenberg2012-08-28 11:30:13 -0700
commit601e3e8ef3bdbd3838f006c649f30af68b08f57f (patch)
tree03f2c7b48ce1f68dc39cf3899a6bb96866d19da8 /Library
parent93c1525c1f89156c998311f9db46ef97174293eb (diff)
downloadhomebrew-601e3e8ef3bdbd3838f006c649f30af68b08f57f.tar.bz2
samba: fix for CUPS on Mountain Lion
Closes #14487. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/samba.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/samba.rb b/Library/Formula/samba.rb
index 454f73d2e..f4b49441f 100644
--- a/Library/Formula/samba.rb
+++ b/Library/Formula/samba.rb
@@ -17,6 +17,9 @@ class Samba < Formula
end
def install
+ # Enable deprecated CUPS structs on Mountain Lion
+ # https://github.com/mxcl/homebrew/issues/13790
+ ENV['CFLAGS'] += " -D_IPP_PRIVATE_STRUCTURES"
cd 'source3' do
system "./autogen.sh"
system "./configure", "--disable-debug",