From ab1b6b5a9134b6f92ef4f074ee79ab64f12fa3b0 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 22 Aug 2013 15:32:03 -0400 Subject: [PATCH] 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 Homebrew/homebrew#22082. Signed-off-by: Jack Nagel --- Formula/git.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/git.rb b/Formula/git.rb index be41f80c43..556b7db437 100644 --- a/Formula/git.rb +++ b/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}",