aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-12 07:43:47 -0800
committerAdam Vandenberg2013-11-12 07:43:47 -0800
commit0bcebe4523fbe4c57246dbbb1d807177b44aafc6 (patch)
treef467f4dc00965c20dd49d7ca3457eac5bd508f93 /Library
parente6ca28f2e7f92d3097d601a9e94f8d1bc9259c31 (diff)
downloadhomebrew-0bcebe4523fbe4c57246dbbb1d807177b44aafc6.tar.bz2
libkml/uriparser conflict
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libkml.rb2
-rw-r--r--Library/Formula/uriparser.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/libkml.rb b/Library/Formula/libkml.rb
index c2e569f8d..84eeea9f3 100644
--- a/Library/Formula/libkml.rb
+++ b/Library/Formula/libkml.rb
@@ -12,6 +12,8 @@ class Libkml < Formula
depends_on :libtool
end
+ conflicts_with 'uriparser', :because => 'both install `liburiparser.dylib`'
+
# Fix compilation with clang and gcc 4.7+
# https://code.google.com/p/libkml/issues/detail?id=179
def patches; DATA; end
diff --git a/Library/Formula/uriparser.rb b/Library/Formula/uriparser.rb
index 8ac61d339..e9fbf89af 100644
--- a/Library/Formula/uriparser.rb
+++ b/Library/Formula/uriparser.rb
@@ -8,6 +8,8 @@ class Uriparser < Formula
depends_on 'pkg-config' => :build
depends_on 'cpptest'
+ conflicts_with 'libkml', :because => 'both install `liburiparser.dylib`'
+
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",