aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorPeter Eisentraut2013-08-22 15:32:03 -0400
committerJack Nagel2013-08-22 18:01:42 -0500
commit319b07ef8135652ccd674bbae38462f666b7164b (patch)
treef0b7aa75becbadfc416a6dcf295d15713596f0b7 /Library
parentd996e02ea0372013f790cd3bf0f295080a9d6f72 (diff)
downloadhomebrew-319b07ef8135652ccd674bbae38462f666b7164b.tar.bz2
git: Set sysconfdir during the build
Configuration files should be in /usr/local/etc (or equivalent), not in the cellar, where git put them before. Closes #22082. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/git.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index be41f80c4..556b7db43 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -47,6 +47,7 @@ class Git < Formula
ENV['NO_GETTEXT'] = '1' unless build.with? 'gettext'
system "make", "prefix=#{prefix}",
+ "sysconfdir=#{etc}",
"CC=#{ENV.cc}",
"CFLAGS=#{ENV.cflags}",
"LDFLAGS=#{ENV.ldflags}",