aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-02-11 20:05:32 -0600
committerJack Nagel2013-02-11 20:07:53 -0600
commit24866df7afc6150c9f20647bfa9702d3c3dec3a7 (patch)
tree2be267bd16bbe0b8c2860a245b682fd7f4ceb7ba /Library
parent771537808065e098261e4654bc8496bef8d35877 (diff)
downloadhomebrew-24866df7afc6150c9f20647bfa9702d3c3dec3a7.tar.bz2
libev and libevent conflict
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libev.rb3
-rw-r--r--Library/Formula/libevent.rb3
2 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/libev.rb b/Library/Formula/libev.rb
index c8551f664..1bae1b2e4 100644
--- a/Library/Formula/libev.rb
+++ b/Library/Formula/libev.rb
@@ -5,6 +5,9 @@ class Libev < Formula
url 'http://dist.schmorp.de/libev/Attic/libev-4.11.tar.gz'
sha1 'e7752a518742c0f8086a8005aa7efcc4dcf02ed9'
+ conflicts_with 'libevent',
+ :because => 'both install an event.h header file'
+
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
diff --git a/Library/Formula/libevent.rb b/Library/Formula/libevent.rb
index 6a1c09d74..030c24855 100644
--- a/Library/Formula/libevent.rb
+++ b/Library/Formula/libevent.rb
@@ -17,6 +17,9 @@ class Libevent < Formula
option :universal
option 'enable-manpages', 'Install the libevent manpages (requires doxygen)'
+ conflicts_with 'libev',
+ :because => 'both install an event.h header file'
+
fails_with :llvm do
build 2326
cause "Undefined symbol '_current_base' reported during linking."