git: gitk: support pre-'lime' Tcl/Tk versions
Closes #236. Signed-off-by: Andrew Janke <andrew@apjanke.net>
This commit is contained in:
parent
dece65f809
commit
a5b36c24c0
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,7 @@ class Git < Formula
|
|||
homepage "https://git-scm.com"
|
||||
url "https://www.kernel.org/pub/software/scm/git/git-2.8.2.tar.xz"
|
||||
sha256 "ec0283d78a0f1c8408c5fd43610697b953fbaafe4077bb1e41446a9ee3a2f83d"
|
||||
revision 1
|
||||
|
||||
head "https://github.com/git/git.git", :shallow => false
|
||||
|
||||
|
@ -50,6 +51,11 @@ class Git < Formula
|
|||
ENV["PYTHON_PATH"] = which "python"
|
||||
ENV["PERL_PATH"] = which "perl"
|
||||
|
||||
# Support Tcl versions before "lime" color name was introduced
|
||||
# https://github.com/Homebrew/homebrew-core/issues/115
|
||||
# http://www.mail-archive.com/git%40vger.kernel.org/msg92017.html
|
||||
inreplace "gitk-git/gitk", "lime", '"#99FF00"'
|
||||
|
||||
perl_version = /\d\.\d+/.match(`perl --version`)
|
||||
|
||||
if build.with? "brewed-svn"
|
||||
|
|
Loading…
Reference in a new issue