aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-14 23:36:13 -0800
committerAdam Vandenberg2013-11-14 23:36:13 -0800
commit0b80963ab974c6616c756ca4c29e90e274b55200 (patch)
treed62960f5c4e9a6bda53f5f4fbc52164714af6783 /Library/Formula
parent2b8d2e8af7bfbd1bed3720770be114001123493a (diff)
downloadhomebrew-0b80963ab974c6616c756ca4c29e90e274b55200.tar.bz2
samba/talloc conflict
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/samba.rb2
-rw-r--r--Library/Formula/talloc.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/samba.rb b/Library/Formula/samba.rb
index 17c48f75c..e0cdebf85 100644
--- a/Library/Formula/samba.rb
+++ b/Library/Formula/samba.rb
@@ -5,6 +5,8 @@ class Samba < Formula
url 'http://www.samba.org/samba/ftp/stable/samba-3.6.20.tar.gz'
sha1 '445f579112bc69027f560be276744facc1196fe1'
+ conflicts_with 'talloc', :because => 'both install `include/talloc.h`'
+
# Fixes the Grouplimit of 16 users os OS X.
# Bug has been raised upstream:
# https://bugzilla.samba.org/show_bug.cgi?id=8773
diff --git a/Library/Formula/talloc.rb b/Library/Formula/talloc.rb
index c78ca70d2..9eb6170c7 100644
--- a/Library/Formula/talloc.rb
+++ b/Library/Formula/talloc.rb
@@ -5,6 +5,8 @@ class Talloc < Formula
url 'http://www.samba.org/ftp/talloc/talloc-2.0.8.tar.gz'
sha1 '5ca7710a3f95a1db873c97fcf83f92dddfd57907'
+ conflicts_with 'samba', :because => 'both install `include/talloc.h`'
+
def install
system "./configure", "--prefix=#{prefix}", "--disable-rpath"
system "make install"