aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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."