aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrizlab2013-03-12 20:43:00 +0100
committerAdam Vandenberg2013-03-12 13:23:16 -0700
commit5e5f1767c64e494f780aae03d46ae295e42a91b9 (patch)
tree7cc9f6c13a66cdf0203900e234974eb21dcbeaf9
parent98b4c108c72887e3e65a7adb2e3a9bdb1ade9eb3 (diff)
downloadhomebrew-5e5f1767c64e494f780aae03d46ae295e42a91b9.tar.bz2
highlight compilation fix on case-sensitive OS
The formula applies a patch on the Makefile. The patch was applied on the file named src/Makefile However, the file is actually named src/makefile Closes #18437. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/highlight.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/highlight.rb b/Library/Formula/highlight.rb
index 3a29ab9f6..071fcf95c 100644
--- a/Library/Formula/highlight.rb
+++ b/Library/Formula/highlight.rb
@@ -10,7 +10,7 @@ class Highlight < Formula
depends_on 'lua'
def install
- inreplace "src/Makefile" do |s|
+ inreplace "src/makefile" do |s|
s.change_make_var! "CXX", ENV.cxx
s.gsub! /^(CFLAGS):=.*$/, "\\1 = #{ENV.cppflags}"
s.gsub! /^(LUA_LIBS)=(.*)$/, "\\1 = #{ENV.ldflags} \\2"