aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-11-09 20:39:06 -0800
committerAdam Vandenberg2010-11-09 20:39:06 -0800
commit6fe6c756b6f2afc0ca7c4ad88f198dca979ebd67 (patch)
tree7dca1cad43f99416b2e4fe147d0fc31656ba8bff /Library
parentf33a4aacf8a46fb530fe751d983a5ae7ad177f57 (diff)
downloadhomebrew-6fe6c756b6f2afc0ca7c4ad88f198dca979ebd67.tar.bz2
povray - fix manpath and add optional deps
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/povray.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/povray.rb b/Library/Formula/povray.rb
index 9a65a450b..94bbaee0c 100644
--- a/Library/Formula/povray.rb
+++ b/Library/Formula/povray.rb
@@ -5,12 +5,16 @@ class Povray <Formula
homepage 'http://www.povray.org/'
md5 'b5789bb7eeaed0809c5c82d0efda571d'
+ depends_on 'libtiff' => :optional
+ depends_on 'jpeg' => :optional
+
def install
fails_with_llvm "llvm-gcc: povray fails with 'terminate called after throwing an instance of int'"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"COMPILED_BY=homebrew",
- "--prefix=#{prefix}"
+ "--prefix=#{prefix}",
+ "--mandir=#{man}"
system "make install"
end
end