aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDody Suria Wijaya2011-08-13 23:59:43 -0500
committerAdam Vandenberg2011-08-14 10:14:07 -0700
commit98c85c35ad45aca60715fc9307548f16f5de6754 (patch)
tree463087cc2741868e04fe2916f66f63c0d312578a /Library/Formula
parent40e76398f88ad5ca0c2d1c90eccfd7ed01881ad4 (diff)
downloadhomebrew-98c85c35ad45aca60715fc9307548f16f5de6754.tar.bz2
polipo: fix disk-cache-root
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/polipo.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/polipo.rb b/Library/Formula/polipo.rb
index 22ce049f4..1973a4407 100644
--- a/Library/Formula/polipo.rb
+++ b/Library/Formula/polipo.rb
@@ -7,7 +7,8 @@ class Polipo < Formula
md5 'bfc5c85289519658280e093a270d6703'
def install
- cache_root = (var + "cache/polipo").mkpath
+ cache_root = (var + "cache/polipo")
+ cache_root.mkpath
make_opts = "PREFIX=#{prefix} LOCAL_ROOT=#{share}/polipo/www DISK_CACHE_ROOT=#{cache_root} MANDIR=#{man} INFODIR=#{info} PLATFORM_DEFINES=-DHAVE_IPv6"
system "make all #{make_opts}"
system "make install #{make_opts}"