From af3756cf5c8139cdbe421c9ceeb536c600926b00 Mon Sep 17 00:00:00 2001 From: Anders F Bjorklund Date: Thu, 8 Aug 2013 12:36:50 +0200 Subject: [PATCH] rpm: make sure to not include var in the Cellar Closes Homebrew/homebrew#21751. Signed-off-by: Adam Vandenberg --- Formula/rpm.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/rpm.rb b/Formula/rpm.rb index 84f2246cf53..0fcc5574cea 100644 --- a/Formula/rpm.rb +++ b/Formula/rpm.rb @@ -46,6 +46,7 @@ class Rpm < Formula def install args = %W[ --prefix=#{prefix} + --localstatedir=#{var} --with-path-cfg=#{etc}/rpm --with-extra-path-macros=#{lib}/rpm/macros.* --disable-openmp @@ -58,6 +59,7 @@ class Rpm < Formula --with-lua --with-syck --without-apidocs + varprefix=#{var} ] system 'glibtoolize -if' # needs updated ltmain.sh