diff options
| author | BiZoNiX | 2013-06-21 21:04:09 +0300 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-21 14:23:11 -0700 |
| commit | 1522d4231da55e3a16ca4697e54910d9b8176792 (patch) | |
| tree | 705218b4311c83058126af50b984c31df25ce999 /Library | |
| parent | 3172b5f5d81c0825b8b8c29bc64990c668b73ebe (diff) | |
| download | homebrew-1522d4231da55e3a16ca4697e54910d9b8176792.tar.bz2 | |
highlight 3.14
Closes #20669.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/highlight.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/highlight.rb b/Library/Formula/highlight.rb index 071fcf95c..6ec98da98 100644 --- a/Library/Formula/highlight.rb +++ b/Library/Formula/highlight.rb @@ -2,8 +2,8 @@ require 'formula' class Highlight < Formula homepage 'http://www.andre-simon.de/doku/highlight/en/highlight.html' - url 'http://www.andre-simon.de/zip/highlight-3.12.tar.bz2' - sha1 '4d96b4d91ff08268a338847b9ea408d741b91573' + url 'http://www.andre-simon.de/zip/highlight-3.14.tar.bz2' + sha1 '02dd278367e9029baeb396cd6af77f11ceb731c5' depends_on 'pkg-config' => :build depends_on 'boost' @@ -12,8 +12,7 @@ class Highlight < Formula def install 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" + s.gsub! /lua5.1/, "lua" end conf_dir = etc+'highlight/' # highlight needs a final / for conf_dir |
