diff options
| author | Jack Nagel | 2012-04-20 22:24:17 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-20 22:28:06 -0500 |
| commit | c749a81e2e934fec58b8d0c32bca827437e29d49 (patch) | |
| tree | 659b99c66f548ab42f42c225a5fc635f80bec8dd /Library/Formula | |
| parent | 2e8700bfb3a6db9b569666c46da625be164e3507 (diff) | |
| download | homebrew-c749a81e2e934fec58b8d0c32bca827437e29d49.tar.bz2 | |
collectd: fix permissions errors during configure
Fixes #11651.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/collectd.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Library/Formula/collectd.rb b/Library/Formula/collectd.rb index e383bd6c3..cce4b800a 100644 --- a/Library/Formula/collectd.rb +++ b/Library/Formula/collectd.rb @@ -11,10 +11,14 @@ class Collectd < Formula def install # Use system Python; doesn't compile against 2.7 - args = ["--disable-debug", "--disable-dependency-tracking", - "--with-python=/usr/bin", - "--prefix=#{prefix}", - "--localstatedir=#{var}"] + # -C enables the cache and resolves permissions errors + args = %W[-C + --disable-debug + --disable-dependency-tracking + --prefix=#{prefix} + --localstatedir=#{var} + --with-python=/usr/bin] + args << "--disable-embedded-perl" if MacOS.leopard? system "./configure", *args |
