aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authornibbles 2bits2012-07-04 14:34:19 -0700
committerAdam Vandenberg2012-07-04 21:11:38 -0700
commit3ec7beb699ef3b5d518f5b2fb90ed2a5a6af08b1 (patch)
tree9a2fad86ca2cb773ea1d228ff34ae1f0e4b89344 /Library
parentf10fde5d057f803af960cc060dd5a78a4b306b10 (diff)
downloadhomebrew-3ec7beb699ef3b5d518f5b2fb90ed2a5a6af08b1.tar.bz2
samba: add autotools to fix dep error on Lion
Samba calls autogen.sh, but never had any deps on autotools. This causes a build error for Lion users who never installed them. Add the standard deps on automake & libtool if XCode >= 4.3 Tested on with Clang and llvm from XCode-4.3.3. Fixes #13188 Closes #13208. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/samba.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/samba.rb b/Library/Formula/samba.rb
index 7319b63df..215c929b8 100644
--- a/Library/Formula/samba.rb
+++ b/Library/Formula/samba.rb
@@ -5,6 +5,12 @@ class Samba < Formula
url 'http://samba.org/samba/ftp/stable/samba-3.6.5.tar.gz'
sha1 'e41611c95b2bb91c7735928742b8aff4fc0da76e'
+ # This formula calls autogen.sh. So add the standard deps.
+ if MacOS.xcode_version >= '4.3'
+ depends_on 'automake' => :build
+ depends_on 'libtool' => :build
+ end
+
# Fixes the Grouplimit of 16 users os OS X.
# Bug has been raised upstream:
# https://bugzilla.samba.org/show_bug.cgi?id=8773