From 77c6e9c17b2033a684cdc7b8f57dce6b8bbede6a Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Thu, 1 Nov 2018 22:41:03 +0100 Subject: [PATCH] polipo: remove options --- Formula/polipo.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Formula/polipo.rb b/Formula/polipo.rb index 5b620e9131..f8f252f929 100644 --- a/Formula/polipo.rb +++ b/Formula/polipo.rb @@ -15,18 +15,18 @@ class Polipo < Formula sha256 "74930c6406c860315088f3bde52332fb3708a60f5aabeeff1497a3cbbdf10a73" => :mavericks end - option "with-large-chunks", "Set chunk size to 16k (more RAM, but more performance)" - def install cache_root = (var + "cache/polipo") cache_root.mkpath - args = %W[PREFIX=#{prefix} - LOCAL_ROOT=#{pkgshare}/www - DISK_CACHE_ROOT=#{cache_root} - MANDIR=#{man} - INFODIR=#{info} - PLATFORM_DEFINES=-DHAVE_IPv6] - args << 'EXTRA_DEFINES="-DCHUNK_SIZE=16384"' if build.with? "large-chunks" + + args = %W[ + PREFIX=#{prefix} + LOCAL_ROOT=#{pkgshare}/www + DISK_CACHE_ROOT=#{cache_root} + MANDIR=#{man} + INFODIR=#{info} + PLATFORM_DEFINES=-DHAVE_IPv6 + ] system "make", "all", *args system "make", "install", *args