aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAnders F Bjorklund2013-08-08 12:36:50 +0200
committerAdam Vandenberg2013-08-08 09:23:12 -0700
commit721d935dd85d98619ab2139dca7f2dba778d6725 (patch)
tree73ccfad6b2afd91c2f77f63ca8c32f6479c9c1fc /Library/Formula
parentd2f833ba77c20ed5416885cf8a4a7106b84becc4 (diff)
downloadhomebrew-721d935dd85d98619ab2139dca7f2dba778d6725.tar.bz2
rpm: make sure to not include var in the Cellar
Closes #21751. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rpm.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/rpm.rb b/Library/Formula/rpm.rb
index 84f2246cf..0fcc5574c 100644
--- a/Library/Formula/rpm.rb
+++ b/Library/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