From 3ec7beb699ef3b5d518f5b2fb90ed2a5a6af08b1 Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Wed, 4 Jul 2012 14:34:19 -0700 Subject: 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 --- Library/Formula/samba.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3