aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-02-21 14:09:58 -0600
committerJack Nagel2013-02-21 14:09:58 -0600
commit9d84892cef802f18b0f49fa640473204e1ba8890 (patch)
treeed9a17a0e391bf775f61eaea9e2a3a8fd2d4ba40 /Library/Formula
parent6a248b15860e8d5979e009f377f315a7f700b92f (diff)
downloadhomebrew-9d84892cef802f18b0f49fa640473204e1ba8890.tar.bz2
libev: remove libevent compatibility header file
This file conflicts with the actual libevent; if someone actually needs this it can be reinstated as an optional install. Closes #17921.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libev.rb6
-rw-r--r--Library/Formula/libevent.rb3
2 files changed, 3 insertions, 6 deletions
diff --git a/Library/Formula/libev.rb b/Library/Formula/libev.rb
index 1bae1b2e4..14133b421 100644
--- a/Library/Formula/libev.rb
+++ b/Library/Formula/libev.rb
@@ -5,13 +5,13 @@ 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}",
"--mandir=#{man}"
system "make install"
+
+ # Remove compatibility header to prevent conflict with libevent
+ (include/"event.h").unlink
end
end
diff --git a/Library/Formula/libevent.rb b/Library/Formula/libevent.rb
index 030c24855..6a1c09d74 100644
--- a/Library/Formula/libevent.rb
+++ b/Library/Formula/libevent.rb
@@ -17,9 +17,6 @@ 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."