aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-08-29 12:13:15 -0500
committerJack Nagel2013-08-29 12:13:15 -0500
commitf8b74430131bbc90b7b772569e6ff8888f24842a (patch)
tree66b6150a7cbb752182606c170ad0c900fcdab098 /Library/Formula
parentb16e1ed620497a72818f1a2892a64cafdf15172d (diff)
downloadhomebrew-f8b74430131bbc90b7b772569e6ff8888f24842a.tar.bz2
Note conflicts among pdf2image, poppler, and xpdf
Diffstat (limited to 'Library/Formula')
-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