aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/pdf2image.rb3
-rw-r--r--Library/Formula/poppler.rb3
-rw-r--r--Library/Formula/xpdf.rb3
3 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/pdf2image.rb b/Library/Formula/pdf2image.rb
index 6d7b6b01b..30c826de2 100644
--- a/Library/Formula/pdf2image.rb
+++ b/Library/Formula/pdf2image.rb
@@ -7,6 +7,9 @@ class Pdf2image < Formula
depends_on :x11
+ conflicts_with 'poppler'
+ conflicts_with 'xpdf'
+
def install
system "./configure", "--prefix=#{prefix}"
diff --git a/Library/Formula/poppler.rb b/Library/Formula/poppler.rb
index 5cc56cffb..2cea783de 100644
--- a/Library/Formula/poppler.rb
+++ b/Library/Formula/poppler.rb
@@ -23,6 +23,9 @@ class Poppler < Formula
depends_on 'glib' => :optional
depends_on 'cairo' if build.with? 'glib' # Needs a newer Cairo build than OS X 10.6.7 provides
+ conflicts_with 'pdf2image'
+ conflicts_with 'xpdf'
+
def install
if build.with? 'qt4'
ENV['POPPLER_QT4_CFLAGS'] = `#{HOMEBREW_PREFIX}/bin/pkg-config QtCore QtGui --libs`.chomp
diff --git a/Library/Formula/xpdf.rb b/Library/Formula/xpdf.rb
index b66fc0220..4e8e775dc 100644
--- a/Library/Formula/xpdf.rb
+++ b/Library/Formula/xpdf.rb
@@ -8,6 +8,9 @@ class Xpdf < Formula
depends_on 'lesstif'
depends_on :x11
+ conflicts_with 'pdf2image'
+ conflicts_with 'poppler'
+
# see: http://gnats.netbsd.org/45562
def patches; DATA; end